Merge branch 'develop' into feature/CSR-1392
This commit is contained in:
commit
14d5f879ac
2 changed files with 2 additions and 4 deletions
|
|
@ -338,11 +338,8 @@ export default {
|
||||||
isPiaDisabled() {
|
isPiaDisabled() {
|
||||||
const piaExperience =
|
const piaExperience =
|
||||||
this.getSettingValue(experimentSettings.PIA_EXPERIENCE) === "PIA Optional";
|
this.getSettingValue(experimentSettings.PIA_EXPERIENCE) === "PIA Optional";
|
||||||
const enablePIA =
|
|
||||||
this.getSettingValue(experimentSettings.SUBMIT_ORDER_ENABLE_PIA) === "true";
|
|
||||||
|
|
||||||
return false;
|
return !piaExperience;
|
||||||
//return !(piaExperience && enablePIA);
|
|
||||||
},
|
},
|
||||||
paymentMethod() {
|
paymentMethod() {
|
||||||
if (this.isPiaDisabled) {
|
if (this.isPiaDisabled) {
|
||||||
|
|
|
||||||
|
|
@ -693,6 +693,7 @@ export const getters = {
|
||||||
},
|
},
|
||||||
experimentSettings: (state) =>
|
experimentSettings: (state) =>
|
||||||
state.applicationUser.experiments
|
state.applicationUser.experiments
|
||||||
|
.filter((x) => !!x.isActive)
|
||||||
.map((x) => x.settings)
|
.map((x) => x.settings)
|
||||||
.reduce((r, c) => Object.assign(r, c), {}) ?? {},
|
.reduce((r, c) => Object.assign(r, c), {}) ?? {},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue