Merge pull request #1458 from Safelite/feature/CSR-1387
Feature/csr 1387
This commit is contained in:
commit
21263dafca
2 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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), {}) ?? {},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue