1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

Fix reading null error (#15768)

This commit is contained in:
Justin Baur
2025-07-25 13:25:18 -04:00
committed by GitHub
parent 22b8fc5f7d
commit 3062107d98

View File

@@ -43,8 +43,8 @@ export class SlimConfigService implements ConfigService {
this.environmentService.environment$,
this.globalStateProvider.get(GLOBAL_SERVER_CONFIGURATIONS).state$,
]).pipe(
map(([environment, serverConfig]) =>
getFeatureFlagValue(serverConfig[environment.getApiUrl()], key),
map(([environment, serverConfigMap]) =>
getFeatureFlagValue(serverConfigMap?.[environment.getApiUrl()], key),
),
);
}