1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-17 09:59:41 +00:00

wip - working drawer, footer, and title

This commit is contained in:
Isaac Ivins
2026-01-20 17:44:10 -05:00
parent af395b0da3
commit 403cbbcd46
9 changed files with 842 additions and 256 deletions

View File

@@ -176,6 +176,9 @@ export function getFeatureFlagValue<Flag extends FeatureFlag>(
serverConfig: ServerConfig | null,
flag: Flag,
) {
if (flag === FeatureFlag.DesktopUiMigrationMilestone1) {
return true;
}
if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
return DefaultFeatureFlagValue[flag];
}