CASH-1712 - attempt to prevent repetitive api calls and initDatePicker when toggling appt types
This commit is contained in:
parent
4405c1c3f0
commit
55d0ae9a7e
1 changed files with 0 additions and 4 deletions
|
|
@ -1743,7 +1743,6 @@ export default {
|
|||
this.lastSelectedInshopOrDropoffProvider = this.selectedProvider;
|
||||
}
|
||||
this.appointmentType = AppointmentTypeStrings.MOBILE;
|
||||
this.updateSelectedProvider();
|
||||
} else if (newAppointmentType) {
|
||||
if (this.appointmentType != AppointmentTypeStrings.MOBILE) {
|
||||
// Clear last shop selected if appointment type was changed in any manner other than from Mobile
|
||||
|
|
@ -1757,9 +1756,6 @@ export default {
|
|||
} else {
|
||||
this.appointmentType = AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF;
|
||||
}
|
||||
|
||||
// make sure a selectedProvider exists
|
||||
this.updateSelectedProvider(this.lastSelectedInshopOrDropoffProvider);
|
||||
} else {
|
||||
this.appointmentType = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue