diff --git a/src/views/QuickActionBvcEndView.vue b/src/views/QuickActionBvcEndView.vue index 5561010..e147a9d 100644 --- a/src/views/QuickActionBvcEndView.vue +++ b/src/views/QuickActionBvcEndView.vue @@ -145,7 +145,11 @@ import { Router } from "vue-router"; import QuickNav from "@/components/QuickNav.vue"; import TopMessage from "@/components/TopMessage.vue"; import { NotificationIface } from "@/constants/app"; -import { db, retrieveSettingsForActiveAccount } from "@/db/index"; +import { + accountsDBPromise, + db, + retrieveSettingsForActiveAccount, +} from "@/db/index"; import { Contact } from "@/db/tables/contacts"; import { BVC_MEETUPS_PROJECT_CLAIM_ID, @@ -207,6 +211,7 @@ export default class QuickActionBvcBeginView extends Vue { suppressMilliseconds: true, }) || ""; + const accountsDB = await accountsDBPromise; await accountsDB.open(); const allAccounts = await accountsDB.accounts.toArray(); this.allMyDids = allAccounts.map((acc) => acc.did);