Update src/store/index.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
katiekroell 2026-04-16 09:55:17 -04:00 committed by GitHub
parent e41502ff33
commit 550950b8e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1475,7 +1475,7 @@ export const useMainStore = defineStore({
OemEndorsement: this.hasOemEndorsement,
noCoverage: this.isNoComp,
isItac: this.isITAC,
cvrgEndorsementCode: policy.cvrgEndorsementCode,
cvrgEndorsementCode: policy.cvrgEndorsementCode ?? endorsementCodesForSelectedVehicle(vehicle),
educatorEndorsement: policy.educatorEndorsementAnswer,
parkingGuardEndorsement: policy.parkingGuardEndorsementAnswer
},