changed method name to make shareable between address and license lookup
This commit is contained in:
parent
ab16344dd9
commit
f6dea71133
2 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ export default {
|
||||||
return this.mainStore.order.vehicle.carId !== null;
|
return this.mainStore.order.vehicle.carId !== null;
|
||||||
},
|
},
|
||||||
loadDefaultsFromStore() {
|
loadDefaultsFromStore() {
|
||||||
this.customerQuestions = this.mainStore.customerDataAddressLookup;
|
this.customerQuestions = this.mainStore.customerData;
|
||||||
},
|
},
|
||||||
backButtonAction() {
|
backButtonAction() {
|
||||||
// route to move backwards
|
// route to move backwards
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ export const useMainStore = defineStore({
|
||||||
pageData: (state) => (page) => {
|
pageData: (state) => (page) => {
|
||||||
return state.applicationUser.pageData[page];
|
return state.applicationUser.pageData[page];
|
||||||
},
|
},
|
||||||
customerDataAddressLookup: (state) => {
|
customerData: (state) => {
|
||||||
if (state.order.vehicle.registration.address)
|
if (state.order.vehicle.registration.address)
|
||||||
{
|
{
|
||||||
const registration = state.order.vehicle.registration;
|
const registration = state.order.vehicle.registration;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue