diff --git a/libs/angular/src/auth/environment-selector/environment-selector.component.ts b/libs/angular/src/auth/environment-selector/environment-selector.component.ts index 79df6a2d9923..9a29969ae1b3 100644 --- a/libs/angular/src/auth/environment-selector/environment-selector.component.ts +++ b/libs/angular/src/auth/environment-selector/environment-selector.component.ts @@ -33,7 +33,7 @@ export class EnvironmentSelectorComponent implements OnDestroy { protected ServerEnvironmentType = Region; protected availableRegions = this.environmentService.availableRegions(); protected selectedRegion$: Observable = - this.environmentService.environment$.pipe( + this.environmentService.globalEnvironment$.pipe( map((e) => e.getRegion()), map((r) => this.availableRegions.find((ar) => ar.key === r)), );