Corrected logic for whether to display PIA message

This commit is contained in:
Leah Schumann 2024-06-26 06:16:35 -04:00
parent 5b904e323b
commit 9d3a6c9c82

View file

@ -51,7 +51,7 @@
validationRules="option-required" />
<alert
v-if="isPiaDisabled"
v-if="!isPiaDisabled"
:isDismissible="false"
alertClass="alert-info"
cmsWidgetName="NoPiaDisclaimerWidget"
@ -577,7 +577,7 @@ export default {
var isEnabled = false;
if (this.isInsurance) {
isEnabled = piaInsurance === "true" && this.currentDeductible !== 0;
isEnabled = piaInsurance === "true" && this.currentDeductible > 0;
} else {
isEnabled = piaExperience === "PIA Optional" || piaExperience === "PIA Required";
}