INSR-8884: One more fixed undefined check

This commit is contained in:
Alex Humphries 2026-04-21 17:32:05 -04:00
parent 746b45e372
commit 98117c328d

View file

@ -539,7 +539,7 @@ export default {
this.pushEventToGA('order_summary', 'edit', 'contact_details', true);
let action;
let label;
switch (this.mainStore.insuranceCoverage.coverageType) {
switch (this.mainStore.insuranceCoverage?.coverageType) {
case coverageType.Deductible:
action = 'Covered';
label = this.mainStore.currentDeductible;
@ -553,9 +553,11 @@ export default {
label = 'Unverified';
break;
case coverageType.NONE:
default:
action = 'Unverified';
label = 'Unverified';
break;
d
}
this.pushEventToGA('Submit Appointment', action, label, true, null, 1);
}