|
|
@ -49,7 +49,7 @@ export class GfHomeOverviewComponent implements OnInit { |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
protected readonly errors = signal<AssetProfileIdentifier[]>([]); |
|
|
protected readonly errors = signal<AssetProfileIdentifier[]>([]); |
|
|
protected hasImpersonationId: boolean; |
|
|
protected readonly hasImpersonationId = signal(false); |
|
|
protected hasPermissionToCreateActivity: boolean; |
|
|
protected hasPermissionToCreateActivity: boolean; |
|
|
protected historicalDataItems: LineChartItem[] | null; |
|
|
protected historicalDataItems: LineChartItem[] | null; |
|
|
protected isLoadingPerformance = true; |
|
|
protected isLoadingPerformance = true; |
|
|
@ -104,9 +104,7 @@ export class GfHomeOverviewComponent implements OnInit { |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe((impersonationId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
this.hasImpersonationId.set(!!impersonationId); |
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.layoutService.shouldReloadContent$ |
|
|
this.layoutService.shouldReloadContent$ |
|
|
|