CASH-1224

CASH-1224 resetting preSelectedDate in onShopSelected, because if user is searching for a new shop then no need for the preSelectedDate variable other than preserving the value after advancing
This commit is contained in:
Johnny shultz 2025-07-22 15:54:22 -04:00
parent dfbdee4f90
commit 1c58528633

View file

@ -1111,6 +1111,7 @@ export default {
},
onShopSelected(shopQuestionPopUpData) {
this.resetWaitlist();
this.preSelectedDate = null;
this.shopProviderData = shopQuestionPopUpData.shopProviderData;
this.setServiceabilityDetails(shopQuestionPopUpData.serviceabilityDetails);
const selectedProvider = this.shopProviderData.shopProviders.find((shopProvider) => {