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,
isPricingByDayExperiment: Boolean,
isMobileSelected: Boolean,
isLoadingDates: Boolean,
},
setup(props) {
const uuid = uuidv4();
@ -847,7 +846,7 @@ 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;

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();
}
}