INSR-8884: One more fixed undefined check
This commit is contained in:
parent
746b45e372
commit
98117c328d
1 changed files with 3 additions and 1 deletions
|
|
@ -539,7 +539,7 @@ export default {
|
||||||
this.pushEventToGA('order_summary', 'edit', 'contact_details', true);
|
this.pushEventToGA('order_summary', 'edit', 'contact_details', true);
|
||||||
let action;
|
let action;
|
||||||
let label;
|
let label;
|
||||||
switch (this.mainStore.insuranceCoverage.coverageType) {
|
switch (this.mainStore.insuranceCoverage?.coverageType) {
|
||||||
case coverageType.Deductible:
|
case coverageType.Deductible:
|
||||||
action = 'Covered';
|
action = 'Covered';
|
||||||
label = this.mainStore.currentDeductible;
|
label = this.mainStore.currentDeductible;
|
||||||
|
|
@ -553,9 +553,11 @@ export default {
|
||||||
label = 'Unverified';
|
label = 'Unverified';
|
||||||
break;
|
break;
|
||||||
case coverageType.NONE:
|
case coverageType.NONE:
|
||||||
|
default:
|
||||||
action = 'Unverified';
|
action = 'Unverified';
|
||||||
label = 'Unverified';
|
label = 'Unverified';
|
||||||
break;
|
break;
|
||||||
|
d
|
||||||
}
|
}
|
||||||
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
|
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue