remove code that keeps the private key (account) data in memory

This commit is contained in:
2023-07-11 09:10:25 -06:00
parent 47442655cb
commit 8add6448fb
6 changed files with 17 additions and 31 deletions

View File

@@ -198,9 +198,8 @@ export default class ProjectViewView extends Vue {
truncateLength = 40;
async beforeCreate() {
accountsDB.open();
this.accounts = accountsDB.accounts;
this.numAccounts = (await this.accounts?.count()) || 0;
await accountsDB.open();
this.numAccounts = (await accountsDB.accounts?.count()) || 0;
}
async created() {