diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index e914fbc63..4317352d3 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -279,12 +279,10 @@ export default { ); }, isAppointmentTypeDisplayed() { - return ( - this.zipCode && !this.displayNoShopsAlert - ); + return this.zipCode && !this.displayNoShopsAlert; }, - // Specifically check for isRecalibrationServiceableMobile === false, not null or true. requiresInshopRecalibration() { + // Specifically check for isRecalibrationServiceableMobile === false, not null or true. return ( this.isServiceableInshop && this.isGlassServiceableMobile && @@ -351,7 +349,9 @@ export default { return store.getters.order.serviceLocation.zipCode; }, getSelectedAppointmentType() { - return store.getters.order.serviceLocation.appointmentType == "None" ? null : store.getters.order.serviceLocation.appointmentType; + return store.getters.order.serviceLocation.appointmentType == "None" + ? null + : store.getters.order.serviceLocation.appointmentType; }, getSelectedProvider() { return store.getters.order.serviceLocation.provider ?? null; diff --git a/src/layouts/service-location/shop-question/shop-question.vue b/src/layouts/service-location/shop-question/shop-question.vue index 357c6d5c9..a61eae88d 100644 --- a/src/layouts/service-location/shop-question/shop-question.vue +++ b/src/layouts/service-location/shop-question/shop-question.vue @@ -192,9 +192,9 @@ export default { const index = providers.findIndex( (provider) => provider.providerNumber == selectedProviderNumber ); - + return index; - } + }, }, watch: { selectedAppointmentType: { @@ -215,7 +215,10 @@ export default { await this.$nextTick(); if (this.selectedAppointmentType) { - const selectedShopIndex = this.getSelectedProviderIndex(newValue, this.modelValue); + const selectedShopIndex = this.getSelectedProviderIndex( + newValue, + this.modelValue + ); if (selectedShopIndex >= 3) { await this.getNextShopsFromList(selectedShopIndex + 1);