CASH-2183: Null check

This commit is contained in:
Chris Redelinghuys 2026-01-20 10:56:01 -05:00
parent 6e0609f8c1
commit 2914a50878

View file

@ -815,7 +815,7 @@ export default {
this.currentDeductible > 0 this.currentDeductible > 0
); );
} else { } else {
if (piaExperience.includes("PIA Disabled")) { if (piaExperience?.includes("PIA Disabled")) {
return this.isConditionalPIAEnabled; return this.isConditionalPIAEnabled;
} else { } else {
return piaExperience === "PIA Optional" || piaExperience === "PIA Required"; return piaExperience === "PIA Optional" || piaExperience === "PIA Required";