From 3d5a0fc0b4e267960233cdf860c7da06d5d85fdf Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 21 Sep 2024 12:47:37 -0600 Subject: [PATCH] fix problem where mounted ran before create and didn't load any claims --- src/views/QuickActionBvcEndView.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/QuickActionBvcEndView.vue b/src/views/QuickActionBvcEndView.vue index bac10f0..c7d6585 100644 --- a/src/views/QuickActionBvcEndView.vue +++ b/src/views/QuickActionBvcEndView.vue @@ -181,14 +181,13 @@ export default class QuickActionBvcBeginView extends Vue { someoneGave = false; async created() { + this.loadingConfirms = true; + const settings = await retrieveSettingsForActiveAccount(); this.apiServer = settings.apiServer || ""; this.activeDid = settings.activeDid || ""; this.allContacts = await db.contacts.toArray(); - } - async mounted() { - this.loadingConfirms = true; let currentOrPreviousSat = DateTime.now().setZone("America/Denver"); if (currentOrPreviousSat.weekday < 6) { // it's not Saturday or Sunday,