From f6dea71133e46bec944c37811034864bb23aef1a Mon Sep 17 00:00:00 2001 From: Kroell Date: Thu, 19 Jan 2023 12:28:42 -0500 Subject: [PATCH] changed method name to make shareable between address and license lookup --- src/layouts/address-lookup/address-lookup.vue | 2 +- src/store/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/address-lookup/address-lookup.vue b/src/layouts/address-lookup/address-lookup.vue index b88c10c6..27623e75 100644 --- a/src/layouts/address-lookup/address-lookup.vue +++ b/src/layouts/address-lookup/address-lookup.vue @@ -163,7 +163,7 @@ export default { return this.mainStore.order.vehicle.carId !== null; }, loadDefaultsFromStore() { - this.customerQuestions = this.mainStore.customerDataAddressLookup; + this.customerQuestions = this.mainStore.customerData; }, backButtonAction() { // route to move backwards diff --git a/src/store/index.js b/src/store/index.js index 85c6dd43..473507d6 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -118,7 +118,7 @@ export const useMainStore = defineStore({ pageData: (state) => (page) => { return state.applicationUser.pageData[page]; }, - customerDataAddressLookup: (state) => { + customerData: (state) => { if (state.order.vehicle.registration.address) { const registration = state.order.vehicle.registration;