CSR-1744: prevent PIA if deductible is -zsh
This commit is contained in:
parent
5ef80b4a83
commit
10ffe3eeff
1 changed files with 4 additions and 3 deletions
|
|
@ -560,9 +560,10 @@ export default {
|
||||||
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
||||||
|
|
||||||
const isEnabled =
|
const isEnabled =
|
||||||
piaExperience === "PIA Optional" ||
|
(piaExperience === "PIA Optional" ||
|
||||||
piaExperience === "PIA Required" ||
|
piaExperience === "PIA Required" ||
|
||||||
piaInsurance === "true";
|
piaInsurance === "true") &&
|
||||||
|
this.currentDeductible !== 0;
|
||||||
|
|
||||||
return !isEnabled;
|
return !isEnabled;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue