forked from jsnbuchanan/crowd-funder-for-time-pwa
remove code that keeps the private key (account) data in memory
This commit is contained in:
@@ -320,7 +320,6 @@ export default class AccountViewView extends Vue {
|
||||
limitsMessage = "";
|
||||
loadingLimits = true; // might as well now that we do it on mount, to avoid flashing the registration message
|
||||
showContactGives = false;
|
||||
private accounts: AccountsSchema;
|
||||
|
||||
showDidCopy = false;
|
||||
showDerCopy = false;
|
||||
@@ -374,9 +373,8 @@ export default class AccountViewView extends Vue {
|
||||
}
|
||||
|
||||
async beforeCreate() {
|
||||
accountsDB.open();
|
||||
this.accounts = accountsDB.accounts;
|
||||
this.numAccounts = await this.accounts.count();
|
||||
await accountsDB.open();
|
||||
this.numAccounts = await accountsDB.accounts.count();
|
||||
}
|
||||
|
||||
async created() {
|
||||
|
||||
Reference in New Issue
Block a user