CASH-2041

CASH-2041 - do not update selected provider if null
This commit is contained in:
CarlNation 2025-12-18 15:00:30 -05:00
parent cb4758ce7d
commit fbb5a3eb14

View file

@ -1731,7 +1731,9 @@ export default {
this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
}
// make sure a selectedProvider exists
this.updateSelectedProvider(this.lastSelectedInshopOrDropoffProvider);
if (this.lastSelectedInshopOrDropoffProvider) {
this.updateSelectedProvider(this.lastSelectedInshopOrDropoffProvider);
}
} else {
this.appointmentType = null;
}