Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit a0792c0

Browse files
authored
feat: DEV-1660: Feature flags default value (#474)
1 parent b202f17 commit a0792c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/feature-flags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ function getFeatureFlags() {
1919
}
2020

2121
export function isFF(id) {
22-
return getFeatureFlags()[id] === true;
22+
return getFeatureFlags()[id] === window.APP_SETTINGS?.feature_flags_default_value;
2323
}

0 commit comments

Comments
 (0)