From 45832c2f5e47e269a342db2b8b0195683fc3e9ad Mon Sep 17 00:00:00 2001 From: Ilya Zarembsky Date: Wed, 7 Oct 2020 12:24:13 -0400 Subject: [PATCH] Fix bug that always made ABTest clients think tests had not been fetched yet --- src/classes/ABTest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/classes/ABTest.js b/src/classes/ABTest.js index da4d122b3..76b380256 100644 --- a/src/classes/ABTest.js +++ b/src/classes/ABTest.js @@ -102,6 +102,8 @@ class ABTest { ); // update conf globals.SESSION.abtests = this.tests; + // let clients know that if a test is absent it is not because tests have not yet been fetched + this.hasBeenFetched = true; } }