Merge pull request #1846 from Safelite/feature/CSR-1744-ajc
CSR-1744: prevent PIA if deductible is $0
This commit is contained in:
commit
494e591efa
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue