diff --git a/src/extension/background-script/actions/accounts/get.ts b/src/extension/background-script/actions/accounts/get.ts index 7d102a892c..392f40a286 100644 --- a/src/extension/background-script/actions/accounts/get.ts +++ b/src/extension/background-script/actions/accounts/get.ts @@ -23,9 +23,10 @@ const get = async (message: MessageAccountGet) => { nostrEnabled: !!account.nostrPrivateKey, hasMnemonic: !!account.mnemonic, // for existing accounts consider mnemonic backup already done - isMnemonicBackupDone: account.isMnemonicBackupDone - ? account.isMnemonicBackupDone - : true, + isMnemonicBackupDone: + account.isMnemonicBackupDone != undefined + ? account.isMnemonicBackupDone + : true, // Note: undefined (default for new accounts) it is also considered imported hasImportedNostrKey: account.hasImportedNostrKey !== false, bitcoinNetwork: account.bitcoinNetwork || "bitcoin",