Only count experiment settings from active experiments
This commit is contained in:
parent
75b47e2ebd
commit
1cf6b80f19
1 changed files with 1 additions and 0 deletions
|
|
@ -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