changed method name to make shareable between address and license lookup

This commit is contained in:
Kroell 2023-01-19 12:28:42 -05:00
parent ab16344dd9
commit f6dea71133
2 changed files with 2 additions and 2 deletions

View file

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

View file

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