From 98117c328dbeb42a05f60001aade7929c9625102 Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Tue, 21 Apr 2026 17:32:05 -0400 Subject: [PATCH] INSR-8884: One more fixed undefined check --- src/layouts/payment-method/payment-method.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }