From 9e18dbc0dc20fddad451b6e4eee48a03a6b3c422 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 16 Apr 2020 21:08:14 +0100 Subject: [PATCH] Fix key backup debug panel The type changed so it thought it was not stored when it was --- src/components/views/settings/KeyBackupPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/settings/KeyBackupPanel.js b/src/components/views/settings/KeyBackupPanel.js index 5548768221..fa3fa03c74 100644 --- a/src/components/views/settings/KeyBackupPanel.js +++ b/src/components/views/settings/KeyBackupPanel.js @@ -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,