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:
@@ -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),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user