From e9aeec48ed5e127721feb691660da0948dc4d647 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 14 Dec 2024 14:30:51 -0700 Subject: [PATCH] fix a missed accountsDB reference --- src/views/QuickActionBvcEndView.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);