Merge pull request #870 from Safelite/defect/digital/fix-coverage-statement-no-reg-clients

Don't mark the coverage status as verified if we don't have a valid p…
This commit is contained in:
Josh Dassinger 2024-10-21 08:45:11 -05:00 committed by GitHub
commit 1a3046637c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}