Don't mark the coverage status as verified if we don't have a valid policy

This commit is contained in:
Josh Dassinger 2024-10-18 14:29:32 -05:00
parent 82249afcce
commit a81562a63a

View file

@ -379,7 +379,7 @@ export default {
async initializeComponent() {
if (this.shouldRegisterClaim) {
await this.mainStore.registerClaim();
} else if (!this.mainStore.isClaimRegistrationRequired) {
} else if (!this.mainStore.isClaimRegistrationRequired && this.mainStore.order.insuranceCoverage.coverageType !== coverageType.NONE) {
this.mainStore.updateCoverageStatus(coverageStatuses.VERIFIED);
}