diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 1a71f9dbd..72f9cbff4 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -80,10 +80,9 @@ labelBold="true" /> -
+
{ if (shop.value.length > 5 && shop.value.startsWith("00")) { @@ -405,7 +406,7 @@ export default { } this.localShopProviderData = result.data; this.updateShopsForZip(this.internalModel.zipCode); - if (this.selectedAppointmentType === "Mobile") { + if (this.appointmentType === AppointmentTypeStrings.MOBILE) { this.selectedProvider = new Provider( this.shopProviderData.mobileProviderNumber ); @@ -417,7 +418,7 @@ export default { } }, async updateShopsForZip(zipCode) { - if (!this.selectedAppointmentType) { + if (!this.appointmentType) { this.answers = []; this.isLoadingShops = false; return; @@ -476,7 +477,7 @@ export default { availabilityRatingCallback: getAvailabilityRating, startDate: formattedStartDate, endDate: formattedEndDate, - shopAppointmentType: this.selectedAppointmentType, + shopAppointmentType: this.appointmentType, }, value: shopProvider.providerNumber, };