Don't mark the coverage status as verified if we don't have a valid policy
This commit is contained in:
parent
82249afcce
commit
a81562a63a
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ export default {
|
||||||
async initializeComponent() {
|
async initializeComponent() {
|
||||||
if (this.shouldRegisterClaim) {
|
if (this.shouldRegisterClaim) {
|
||||||
await this.mainStore.registerClaim();
|
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);
|
this.mainStore.updateCoverageStatus(coverageStatuses.VERIFIED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue