diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index 70196840..210f6fd4 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -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); }