diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 6ef2ba362..53c20e212 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -1534,8 +1534,17 @@ export default { }, updateTimeSlot(timeSlotObj) { this.selectedTimeSlotInfo = timeSlotObj; - if (this.appointmentType !== AppointmentTypeStrings.MOBILE) { + if ( + this.appointmentType !== AppointmentTypeStrings.MOBILE && + this.appointmentType !== null + ) { // update apptType based on routeCode to determine if it should be dropoff or inshop + debugLog(`Updating appointment type based on route code.`); + debugLog(`Route code =`, timeSlotObj.timeSlot.routeCode); + debugLog( + `Parsed type = `, + this.getInShopOrDropOffApptType(timeSlotObj.timeSlot.routeCode) + ); this.appointmentType = this.getInShopOrDropOffApptType( timeSlotObj.timeSlot.routeCode );