Browse Source

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

kb/add-usage-guide
Matthew Raymer 1 year ago
parent
commit
3f6dbdebef
  1. 3
      src/views/AccountViewView.vue

3
src/views/AccountViewView.vue

@ -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() {

Loading…
Cancel
Save