CASH-320 isInsurance=false from the load session should be allowed to update vuex
This commit is contained in:
CarlNation 2025-03-20 14:46:29 -04:00
parent dc7ba7c994
commit 29d183bc70

View file

@ -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;