CSR-1744: prevent PIA if deductible is -zsh

This commit is contained in:
Adam Caouette 2024-05-07 11:31:51 -04:00
parent 5ef80b4a83
commit 10ffe3eeff

View file

@ -560,9 +560,10 @@ export default {
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
const isEnabled =
piaExperience === "PIA Optional" ||
piaExperience === "PIA Required" ||
piaInsurance === "true";
(piaExperience === "PIA Optional" ||
piaExperience === "PIA Required" ||
piaInsurance === "true") &&
this.currentDeductible !== 0;
return !isEnabled;
},