Merge pull request #2287 from Safelite/feature/CASH-183
CASH-183 | Bug fix
This commit is contained in:
commit
61b09df1c7
1 changed files with 5 additions and 3 deletions
|
|
@ -1294,10 +1294,12 @@ export const actions = {
|
||||||
) {
|
) {
|
||||||
const experiments = deepClone(context.getters.applicationUser.experiments);
|
const experiments = deepClone(context.getters.applicationUser.experiments);
|
||||||
const experimentToMarkAsExposed = experiments.find((ex) => {
|
const experimentToMarkAsExposed = experiments.find((ex) => {
|
||||||
ex.universeId == experiment.universeId &&
|
return (
|
||||||
ex.testId == experiment.testIde &&
|
ex.universeId == experiment.universeId &&
|
||||||
|
ex.testId == experiment.testId &&
|
||||||
ex.variationId == experiment.variationId &&
|
ex.variationId == experiment.variationId &&
|
||||||
ex.assignmentId == experiment.assignmentId;
|
ex.assignmentId == experiment.assignmentId
|
||||||
|
);
|
||||||
});
|
});
|
||||||
if (experimentToMarkAsExposed) {
|
if (experimentToMarkAsExposed) {
|
||||||
experimentToMarkAsExposed.isExposed = true;
|
experimentToMarkAsExposed.isExposed = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue