forked from trent_larson/crowd-funder-for-time-pwa
fix problem where mounted ran before create and didn't load any claims
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user