From c864ffedea52ad20d5098013b6aed5b1c7376acc Mon Sep 17 00:00:00 2001 From: Michaela Brydon Date: Wed, 17 Apr 2024 12:29:36 -0400 Subject: [PATCH] Actually referencing policy successful --- src/store/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index c419b8a8..def5b0cc 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -285,7 +285,8 @@ export const useMainStore = defineStore({ isNoComp: (s) => !!s.order.policy.noCoverage, isITAC: (state) => !!state.order.policy.isITAC, isUnverified: (s) => { - const { policyLookupSuccessful, payment, currentDeductible } = s.order; + const { payment, currentDeductible, policy } = s.order; + const { policyLookupSuccessful } = policy; const registerClaimSuccessful = !!payment.insuranceCoverage.isVerified; if (!policyLookupSuccessful) { return true;