Bisq stats page.

BSQ prices.
This commit is contained in:
softsimon
2020-07-14 21:26:02 +07:00
parent cb3d21a2b2
commit 518629e144
21 changed files with 207 additions and 61 deletions

View File

@@ -17,6 +17,7 @@ export class BisqTransactionComponent implements OnInit, OnDestroy {
bisqTx: BisqTransaction;
latestBlock$: Observable<Block>;
txId: string;
price: number;
isLoading = true;
subscription: Subscription;
@@ -46,6 +47,11 @@ export class BisqTransactionComponent implements OnInit, OnDestroy {
});
this.latestBlock$ = this.stateService.blocks$.pipe(map((([block]) => block)));
this.stateService.bsqPrice$
.subscribe((bsqPrice) => {
this.price = bsqPrice;
});
}
ngOnDestroy() {