CSR-1754
CSR-1754 show pia for verified insurance
This commit is contained in:
parent
3bf5086e0f
commit
96b7392051
2 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ const experimentSettings = {
|
|||
SUPPRESS_VIN_CAPTURE: "SuppressVinCapture",
|
||||
DISPLAY_AVAILABILITY_INDICATORS: "DisplayAvailabilityIndicators",
|
||||
PIA_EXPERIENCE: "PIA Experience",
|
||||
PIA_INSURANCE: "DisplayPIAInsurance",
|
||||
SUBMIT_ORDER_ENABLE_PIA: "SubmitOrder_Enable_PIA",
|
||||
IS_EMAIL_OPTIONAL: "isEmailOptional",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -512,8 +512,9 @@ export default {
|
|||
},
|
||||
isPiaDisabled() {
|
||||
const piaExperience = this.getSettingValue(experimentSettings.PIA_EXPERIENCE);
|
||||
const piaInsurance = this.getSettingValue(experimentSettings.PIA_INSURANCE);
|
||||
|
||||
const isEnabled = piaExperience === "PIA Optional" || piaExperience === "PIA Required";
|
||||
const isEnabled = piaExperience === "PIA Optional" || piaExperience === "PIA Required" || piaInsurance === "true";
|
||||
|
||||
return !isEnabled;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue