Merge pull request #789 from Safelite/bug/SSR-1404

Bug/ssr 1404
This commit is contained in:
SujathaAnishetty 2024-07-12 15:42:02 -04:00 committed by GitHub
commit 3d56d0f0e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -164,8 +164,7 @@ export default {
];
const { vehicle, isITAC, isDeductible, serviceLocation } = store;
if ((isITAC || isDeductible)
&& vehicle.policyVehicleId >= 0) {
if (isITAC || isDeductible) {
promiseResultMap.push({
resultKey: 'getFinalDeductible',
promise: store.getFinalDeductible()

View file

@ -57,6 +57,7 @@ import {
noCoverageForSelectedVehicle,
repairWaivedForSelectedVehicle
} from '@/helpers/policy-vehicle-helper';
import coverageType from '@/constants/coverage-type';
export default {
name: 'policy-vehicles',
@ -215,6 +216,9 @@ export default {
endorsements: this.endorsementsForSelectedVehicle
});
}
else {
useMainStore().updateCoverageType(coverageType.NONE);
}
return this.navigateForward();
},
navigateForward() {