fix problem where mounted ran before create and didn't load any claims

This commit is contained in:
2024-09-21 12:47:37 -06:00
parent 534f3d8a8b
commit 1c79cc25fe

View File

@@ -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,