fix: Default feature flag logic

This commit is contained in:
Tom Moor
2024-05-29 21:30:42 -04:00
parent 1c4817486b
commit 1ceb87515d

View File

@@ -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) {