Also check for "PIA Required"

This commit is contained in:
Chloe Herd 2023-11-08 15:04:26 -05:00
parent 8e49fa5713
commit cae80fa813

View file

@ -409,10 +409,11 @@ export default {
} }
}, },
isPiaDisabled() { isPiaDisabled() {
const piaExperience = const piaExperience = this.getSettingValue(experimentSettings.PIA_EXPERIENCE);
this.getSettingValue(experimentSettings.PIA_EXPERIENCE) === "PIA Optional";
return !piaExperience; const isEnabled = piaExperience === "PIA Optional" || piaExperience === "PIA Required";
return !isEnabled;
}, },
paymentMethod() { paymentMethod() {
if (this.isPiaDisabled) { if (this.isPiaDisabled) {