Logic updates.

This commit is contained in:
Jeremy-Z 2026-04-21 10:12:54 -04:00
parent 98b39a7c65
commit 438b18aea9

View file

@ -602,15 +602,11 @@ export const useMainStore = defineStore({
order.policy.policyLookupErrorCode = 0;
} else {
if ( response?.data?.isError) {
order.policy.policyLookupErrorCode = response.data.errorCode;
order.policy.policyLookupErrorCode = response?.data?.errorCode;
}
this.updateCoverageType(coverageType.NONE);
}
} catch (e) {
if ( response?.data?.isError) {
order.policy.policyLookupErrorCode = response.data.errorCode;
}
this.updateCoverageType(coverageType.NONE);
}
},