Explorar el Código

Merge pull request #17434 from overleaf/ab-allow-analytics-inactive-test

[web] Allow analytics to be enabled for inactive tests

GitOrigin-RevId: f854fd6532357c4291f2785b950eac2478cfbae0
Jessica Lawshe hace 2 años
padre
commit
310cbe10ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/app/src/Features/SplitTests/SplitTestManager.js

+ 1 - 1
services/web/app/src/Features/SplitTests/SplitTestManager.js

@@ -152,7 +152,7 @@ async function updateSplitTestConfig({ name, configuration, comment }, userId) {
     versionNumber: lastVersion.versionNumber + 1,
     versionNumber: lastVersion.versionNumber + 1,
     phase: configuration.phase,
     phase: configuration.phase,
     active: configuration.active,
     active: configuration.active,
-    analyticsEnabled: configuration.active && configuration.analyticsEnabled,
+    analyticsEnabled: configuration.analyticsEnabled,
     variants: updatedVariants,
     variants: updatedVariants,
     author: userId,
     author: userId,
     comment,
     comment,