Shreya
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
24 additions and
16 deletions
-
libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts
|
|
@ -64,7 +64,8 @@ export class GfBenchmarkDetailDialogComponent implements OnInit { |
|
|
symbol: this.data.symbol |
|
|
symbol: this.data.symbol |
|
|
}) |
|
|
}) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.pipe(takeUntilDestroyed(this.destroyRef)) |
|
|
.subscribe(({ assetProfile, marketData }) => { |
|
|
.subscribe({ |
|
|
|
|
|
next: ({ assetProfile, marketData }) => { |
|
|
this.assetProfile = assetProfile; |
|
|
this.assetProfile = assetProfile; |
|
|
|
|
|
|
|
|
this.historicalDataItems = marketData.map( |
|
|
this.historicalDataItems = marketData.map( |
|
|
@ -83,6 +84,13 @@ export class GfBenchmarkDetailDialogComponent implements OnInit { |
|
|
this.isLoading = false; |
|
|
this.isLoading = false; |
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
|
|
|
}, |
|
|
|
|
|
error: () => { |
|
|
|
|
|
this.historicalDataItems = []; |
|
|
|
|
|
this.isLoading = false; |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|