Merge pull request #1330 from Safelite/feature/CSR-1418.02

Update vehicle.vue
This commit is contained in:
AMSNEHA 2023-09-01 20:42:38 +05:30 committed by GitHub
commit 29bb37857b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,11 +112,11 @@ export default {
selectedMake: this.selectedMakefromStore(), selectedMake: this.selectedMakefromStore(),
selectedModel: this.selectedModelfromStore(), selectedModel: this.selectedModelfromStore(),
selectedStyle: this.selectedStylefromStore(), selectedStyle: this.selectedStylefromStore(),
carId: this.getCarIdFromStore(), carId: this.getCarIdfromStore(),
category: null, category: this.getCategoryfromStore(),
imageUrl: this.getImagefromStore(), imageUrl: this.getImagefromStore(),
imageVifNumber: null, imageVifNumber: this.getImageVifNumberfromStore(),
imageVifColor: null, imageVifColor: this.getImageVifColorfromStore(),
yearOptions: [], yearOptions: [],
makeOptions: [], makeOptions: [],
modelOptions: [], modelOptions: [],
@ -383,9 +383,18 @@ export default {
getImagefromStore() { getImagefromStore() {
return store.getters.vehicle.imageUrl; return store.getters.vehicle.imageUrl;
}, },
getCarIdFromStore() { getCarIdfromStore() {
return store.getters.vehicle.carId; return store.getters.vehicle.carId;
}, },
getCategoryfromStore() {
return store.getters.vehicle.category;
},
getImageVifNumberfromStore() {
return store.getters.vehicle.imageVifNumber;
},
getImageVifColorfromStore() {
return store.getters.vehicle.imageVifColor;
},
}, },
components: { components: {