Merge pull request #453 from Safelite/feature/richardson/SSR-631

Fix for mobile Address reload providers and displayNoShop fix
This commit is contained in:
brich1212safe 2023-09-25 09:11:16 -04:00 committed by GitHub
commit e5032973aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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