Fix for mobile Address reload providers and displayNoShop fix

This commit is contained in:
Bill Richardson 2023-09-22 14:39:53 -04:00
parent 829bd75eb2
commit 12b29246e6

View file

@ -85,7 +85,7 @@
ref="siteFooter"
class="mt-5"
cmsWidgetName="SiteFooterWidget"
:isForwardActionDisabled="!meta.valid"
:isForwardActionDisabled="!meta.valid || displayNoShopsAlert"
@backClicked="backButtonAction"
@forwardClicked="forwardButtonAction" />
</div>
@ -287,7 +287,7 @@ export default {
);
},
isAppointmentTypeDisplayed() {
return true; // this.zipCode && !this.displayNoShopsAlert;
return this.zipCode && !this.displayNoShopsAlert;
},
requiresInshopRecalibration() {
// Specifically check for isRecalibrationServiceableMobile === false, not null or true.
@ -330,8 +330,8 @@ export default {
*/
this.$router.navigate(this.navigationScenarios.CLICKED_BACK, this.$route);
},
async reloadShopData() {
await this.$refs.shopQuestion.reloadShopData(this.zipCode);
async reloadShopData(zipCode) {
await this.$refs.shopQuestion.reloadShopData(zipCode);
},
async forwardButtonAction() {
useMainStore().saveServiceLocation({