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"
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({