This commit is contained in:
CarlNation 2024-04-12 10:26:53 -04:00
parent d1219a7643
commit 4e245fd08e
2 changed files with 8 additions and 7 deletions

View file

@ -527,9 +527,7 @@ export default {
return this.$route.params[this.routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]; return this.$route.params[this.routerParams.DISPLAY_VEHICLE_CHANGE_ALERT];
}, },
shouldHideBackButton() { shouldHideBackButton() {
return ( return this.$store.getters.payment.insuranceCoverage.isVerified;
this.$store.getters.payment.insuranceCoverage.isVerified
);
}, },
}, },

View file

@ -346,13 +346,16 @@ export default {
}, },
methods: { methods: {
isDisabled(options) { isDisabled(options) {
if (!options.length || store.getters.payment?.insuranceCoverage?.isVerified || getFunnelCookie()?.HasDelayedClaimRegistration) { if (
!options.length ||
store.getters.payment?.insuranceCoverage?.isVerified ||
getFunnelCookie()?.HasDelayedClaimRegistration
) {
return true; return true;
} } else {
else {
return false; return false;
} }
}, },
getVehicle(year, make, model, style) { getVehicle(year, make, model, style) {
return this.dispatchStoreActionWithLogging( return this.dispatchStoreActionWithLogging(
this.storeActions.GET_VEHICLE, this.storeActions.GET_VEHICLE,