From 29d183bc708c335760bcd6b1b8e29c492b3d23bd Mon Sep 17 00:00:00 2001 From: CarlNation Date: Thu, 20 Mar 2025 14:46:29 -0400 Subject: [PATCH 1/2] CASH-320 CASH-320 isInsurance=false from the load session should be allowed to update vuex --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index da849c127..bc978304a 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -720,7 +720,7 @@ export const mutations = { // if we're loading a session and we do not have a provider number yet, then set isInsurance to null so that // a service package is not selected by default on the quote page. if ( - !sessionInformation.order.payment.isInsurance && + (sessionInformation.order.payment.isInsurance === null || sessionInformation.order.payment.isInsurance === undefined) && !sessionInformation.order.serviceLocation.provider?.providerNumber ) { state.order.payment.isInsurance = null; From 6be76bad881a88a74c07af8916c3fb99a3786273 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Thu, 20 Mar 2025 14:51:12 -0400 Subject: [PATCH 2/2] prettier --- 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 bc978304a..bdf6c48a7 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -720,7 +720,8 @@ export const mutations = { // if we're loading a session and we do not have a provider number yet, then set isInsurance to null so that // a service package is not selected by default on the quote page. if ( - (sessionInformation.order.payment.isInsurance === null || sessionInformation.order.payment.isInsurance === undefined) && + (sessionInformation.order.payment.isInsurance === null || + sessionInformation.order.payment.isInsurance === undefined) && !sessionInformation.order.serviceLocation.provider?.providerNumber ) { state.order.payment.isInsurance = null;