move method call to beforeMount
This commit is contained in:
parent
162a20a095
commit
3fb372c5fd
1 changed files with 4 additions and 2 deletions
|
|
@ -328,9 +328,11 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeMount() {
|
||||||
|
this.getVehicleDeductible();
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
setupModalLinks(this);
|
setupModalLinks(this);
|
||||||
this.getVehicleDeductible();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
arePagePrerequisitesValid() {
|
arePagePrerequisitesValid() {
|
||||||
|
|
@ -453,7 +455,7 @@ export default {
|
||||||
this.supportingItems = newSupportingItems;
|
this.supportingItems = newSupportingItems;
|
||||||
},
|
},
|
||||||
async getVehicleDeductible() {
|
async getVehicleDeductible() {
|
||||||
await this.mainStore.getFinalDeductible();
|
await useMainStore().getFinalDeductible();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue