forked from jsnbuchanan/crowd-funder-for-time-pwa
remove code that keeps the private key (account) data in memory
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user