From 3f6dbdebef973c54ceb23f335a2747f252db5307 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Mon, 3 Jul 2023 18:46:23 +0800 Subject: [PATCH] Moved checkLimits inside try...catch since it has an identity check --- src/views/AccountViewView.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 17e6e2de..d268dde7 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -420,6 +420,7 @@ export default class AccountViewView extends Vue { db.settings.update(MASTER_SETTINGS_KEY, { activeDid: identity.did, }); + this.checkLimits(); } catch (err) { this.alertMessage = "Clear your cache and start over (after data backup)."; @@ -427,8 +428,6 @@ export default class AccountViewView extends Vue { this.alertTitle = "Error Creating Account"; this.isAlertVisible = true; } - - this.checkLimits(); } public async updateShowContactAmounts() {