mirror of https://github.com/vector-im/riot-web
Show verify button when we have a device to verify
rather than when we don'tpull/21833/head
parent
efcfaed335
commit
4c381c32ee
|
@ -234,7 +234,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
|||
}
|
||||
|
||||
let verifyButton;
|
||||
if (!sig.device || !sig.device.isVerified()) {
|
||||
if (sig.device && !sig.device.isVerified()) {
|
||||
verifyButton = <div><br /><AccessibleButton className="mx_UserSettings_button"
|
||||
onClick={this._verifyDevice} data-sigindex={i}>
|
||||
{ _t("Verify...") }
|
||||
|
|
Loading…
Reference in New Issue