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];
},
shouldHideBackButton() {
return (
this.$store.getters.payment.insuranceCoverage.isVerified
);
return this.$store.getters.payment.insuranceCoverage.isVerified;
},
},

View file

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