|
@ -38,7 +38,6 @@ export class ZenPageComponent implements AfterViewInit, OnDestroy, OnInit { |
|
|
public deviceType: string; |
|
|
public deviceType: string; |
|
|
public hasImpersonationId: boolean; |
|
|
public hasImpersonationId: boolean; |
|
|
public hasPermissionToCreateOrder: boolean; |
|
|
public hasPermissionToCreateOrder: boolean; |
|
|
public hasPositions: boolean; |
|
|
|
|
|
public historicalDataItems: LineChartItem[]; |
|
|
public historicalDataItems: LineChartItem[]; |
|
|
public isLoadingPerformance = true; |
|
|
public isLoadingPerformance = true; |
|
|
public performance: PortfolioPerformance; |
|
|
public performance: PortfolioPerformance; |
|
@ -140,7 +139,6 @@ export class ZenPageComponent implements AfterViewInit, OnDestroy, OnInit { |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((response) => { |
|
|
.subscribe((response) => { |
|
|
this.positions = response.positions; |
|
|
this.positions = response.positions; |
|
|
this.hasPositions = this.positions?.length > 0; |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}); |
|
|
}); |
|
|