mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Fix key backup debug panel
The type changed so it thought it was not stored when it was
This commit is contained in:
parent
cd73f3736a
commit
9e18dbc0dc
@ -75,7 +75,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||
async _checkKeyBackupStatus() {
|
||||
try {
|
||||
const {backupInfo, trustInfo} = await MatrixClientPeg.get().checkKeyBackup();
|
||||
const backupKeyStored = await MatrixClientPeg.get().isKeyBackupKeyStored();
|
||||
const backupKeyStored = Boolean(await MatrixClientPeg.get().isKeyBackupKeyStored());
|
||||
this.setState({
|
||||
backupInfo,
|
||||
backupSigStatus: trustInfo,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user