diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue
index 6873ce294..0fef11cb1 100644
--- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue
+++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue
@@ -5,7 +5,7 @@
diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue
index 73537f75c..9fca2f77e 100644
--- a/src/layouts/service-location/service-location.vue
+++ b/src/layouts/service-location/service-location.vue
@@ -430,6 +430,7 @@ export default {
.question-text {
& > span {
text-align: center;
+ color: $black;
}
}
diff --git a/src/layouts/vehicle/vehicle.vue b/src/layouts/vehicle/vehicle.vue
index 28900033b..db72d30f2 100644
--- a/src/layouts/vehicle/vehicle.vue
+++ b/src/layouts/vehicle/vehicle.vue
@@ -112,11 +112,11 @@ export default {
selectedMake: this.selectedMakefromStore(),
selectedModel: this.selectedModelfromStore(),
selectedStyle: this.selectedStylefromStore(),
- carId: this.getCarIdFromStore(),
- category: null,
+ carId: this.getCarIdfromStore(),
+ category: this.getCategoryfromStore(),
imageUrl: this.getImagefromStore(),
- imageVifNumber: null,
- imageVifColor: null,
+ imageVifNumber: this.getImageVifNumberfromStore(),
+ imageVifColor: this.getImageVifColorfromStore(),
yearOptions: [],
makeOptions: [],
modelOptions: [],
@@ -251,9 +251,9 @@ export default {
if (make) {
const result = await this.getModelOptions(this.selectedYear, make);
this.modelOptions = result?.data;
- if (this.selectedMakefromStore() !== make) {
- if (this.modelOptions.length === 1) this.selectedModel = this.modelOptions[0];
- else this.selectedModel = null;
+ if (this.modelOptions.length === 1) this.selectedModel = this.modelOptions[0];
+ else {
+ this.selectedModel = null;
this.selectedStyle = null;
}
} else {
@@ -270,10 +270,8 @@ export default {
model
);
this.styleOptions = result?.data;
- if (this.selectedModelfromStore() !== model) {
- if (this.styleOptions.length === 1) this.selectedStyle = this.styleOptions[0];
- else this.selectedStyle = null;
- }
+ if (this.styleOptions.length === 1) this.selectedStyle = this.styleOptions[0];
+ else this.selectedStyle = null;
} else {
this.styleOptions = [];
this.selectedStyle = null;
@@ -385,9 +383,18 @@ export default {
getImagefromStore() {
return store.getters.vehicle.imageUrl;
},
- getCarIdFromStore() {
+ getCarIdfromStore() {
return store.getters.vehicle.carId;
},
+ getCategoryfromStore() {
+ return store.getters.vehicle.category;
+ },
+ getImageVifNumberfromStore() {
+ return store.getters.vehicle.imageVifNumber;
+ },
+ getImageVifColorfromStore() {
+ return store.getters.vehicle.imageVifColor;
+ },
},
components: {