mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +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.environmentService.environment$,
|
||||||
this.globalStateProvider.get(GLOBAL_SERVER_CONFIGURATIONS).state$,
|
this.globalStateProvider.get(GLOBAL_SERVER_CONFIGURATIONS).state$,
|
||||||
]).pipe(
|
]).pipe(
|
||||||
map(([environment, serverConfig]) =>
|
map(([environment, serverConfigMap]) =>
|
||||||
getFeatureFlagValue(serverConfig[environment.getApiUrl()], key),
|
getFeatureFlagValue(serverConfigMap?.[environment.getApiUrl()], key),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user