|
|
@ -22,6 +22,7 @@ import { GfValueComponent } from '@ghostfolio/ui/value'; |
|
|
import { GfWorldMapChartComponent } from '@ghostfolio/ui/world-map-chart'; |
|
|
import { GfWorldMapChartComponent } from '@ghostfolio/ui/world-map-chart'; |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
|
|
|
ChangeDetectionStrategy, |
|
|
ChangeDetectorRef, |
|
|
ChangeDetectorRef, |
|
|
Component, |
|
|
Component, |
|
|
computed, |
|
|
computed, |
|
|
@ -48,6 +49,7 @@ import { filter, switchMap, tap } from 'rxjs'; |
|
|
import { AllocationsPageParams } from './interfaces/interfaces'; |
|
|
import { AllocationsPageParams } from './interfaces/interfaces'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
imports: [ |
|
|
imports: [ |
|
|
GfPortfolioProportionChartComponent, |
|
|
GfPortfolioProportionChartComponent, |
|
|
GfPremiumIndicatorComponent, |
|
|
GfPremiumIndicatorComponent, |
|
|
@ -161,6 +163,8 @@ export class GfAllocationsPageComponent implements OnInit { |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe((impersonationId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.userService.stateChanged |
|
|
this.userService.stateChanged |
|
|
|