From 1ceb87515d70cbe3debb4bb6cb0c02f559195c5c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 29 May 2024 21:30:42 -0400 Subject: [PATCH] fix: Default feature flag logic --- app/utils/FeatureFlags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/FeatureFlags.ts b/app/utils/FeatureFlags.ts index 75e51bf81..18ce3741f 100644 --- a/app/utils/FeatureFlags.ts +++ b/app/utils/FeatureFlags.ts @@ -28,7 +28,7 @@ export class FeatureFlags { this.initalized = true; } - return this.cache.has(flag) ?? FeatureDefaults[flag]; + return this.cache.has(flag) ? true : FeatureDefaults[flag] ?? false; } public static enable(flag: Feature) {