CASH-1315: remove redundent isLoading check

This commit is contained in:
AdamCaouetteSafelite 2025-12-31 18:31:32 -05:00
parent f232245078
commit cfc36ca247
2 changed files with 1 additions and 6 deletions

View file

@ -200,7 +200,6 @@ export default {
pricingByDayUpcharge: Number,
isPricingByDayExperiment: Boolean,
isMobileSelected: Boolean,
isLoadingDates: Boolean,
},
setup(props) {
const uuid = uuidv4();
@ -845,13 +844,12 @@ export default {
},
},
watch: {
isLoadingDates(newValue) {
isLoading(newValue) {
// if done loading dates, then set to first available date
if (newValue === false && this.firstAvailableSelectableDate) {
this.selectedDate = this.firstAvailableSelectableDate;
}
},
modelValue(newValue) {
this.resetField({
value: newValue,

View file

@ -134,7 +134,6 @@
selectableDatesSetting="custom"
ref="datePicker"
v-model="selectedDate"
:isLoadingDates="isLoadingDates"
:isMobileSelected="isMobileSelected"
class="text-link-small"
:getMoreDatesCallback="getMoreScheduleData"
@ -432,7 +431,6 @@ export default {
selectableDatesInshop: [],
selectableDatesMobile: [],
preSelectedDate: null,
isLoadingDates: true,
streetAddress: this.getServiceAddressFromStore(),
apartmentNumberOrBusinessName: this.getServiceAddress2FromStore(),
carId: this.getCarIdfromStore(),
@ -1204,7 +1202,6 @@ export default {
) {
await this.$nextTick();
await this.$refs.datePicker.showAnotherMonth();
this.isLoadingDates = false;
this.setDisplayWaitList();
}
}