Moved checkLimits inside try...catch since it has an identity check

This commit is contained in:
Matthew Raymer
2023-07-03 18:46:23 +08:00
parent b139957e3e
commit 3f6dbdebef

View File

@@ -420,6 +420,7 @@ export default class AccountViewView extends Vue {
db.settings.update(MASTER_SETTINGS_KEY, { db.settings.update(MASTER_SETTINGS_KEY, {
activeDid: identity.did, activeDid: identity.did,
}); });
this.checkLimits();
} catch (err) { } catch (err) {
this.alertMessage = this.alertMessage =
"Clear your cache and start over (after data backup)."; "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.alertTitle = "Error Creating Account";
this.isAlertVisible = true; this.isAlertVisible = true;
} }
this.checkLimits();
} }
public async updateShowContactAmounts() { public async updateShowContactAmounts() {