CASH-1315: remove redundent isLoading check

This commit is contained in:
AdamCaouetteSafelite 2025-12-31 18:31:32 -05:00
parent 3b3f8cd800
commit 3af1a9af4c
2 changed files with 1 additions and 5 deletions

View file

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

View file

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