Merge pull request #1458 from Safelite/feature/CSR-1387

Feature/csr 1387
This commit is contained in:
chloeherdsafelite 2023-10-25 17:19:03 -04:00 committed by GitHub
commit 21263dafca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -353,11 +353,8 @@ export default {
isPiaDisabled() {
const piaExperience =
this.getSettingValue(experimentSettings.PIA_EXPERIENCE) === "PIA Optional";
const enablePIA =
this.getSettingValue(experimentSettings.SUBMIT_ORDER_ENABLE_PIA) === "true";
return false;
//return !(piaExperience && enablePIA);
return !piaExperience;
},
paymentMethod() {
if (this.isPiaDisabled) {

View file

@ -697,6 +697,7 @@ export const getters = {
},
experimentSettings: (state) =>
state.applicationUser.experiments
.filter((x) => !!x.isActive)
.map((x) => x.settings)
.reduce((r, c) => Object.assign(r, c), {}) ?? {},
};