Liquid: Display block times and amounts correctly.

This commit is contained in:
softsimon committed 2020-03-25 21:29:40 +07:00
1 parent 9a8740cbe0
commit 6b96dce478
8 files changed
+33 -6

No files matched your search

@@ -2,5 +2,10 @@
<span>{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
</ng-container>
<ng-template #viewFiatVin>
{{ satoshis / 100000000 | number : '1.8-8' }} BTC
<ng-template [ngIf]="network === 'liquid' && !satoshis" [ngIfElse]="default">
Confidential
</ng-template>
<ng-template #default>
{{ satoshis / 100000000 | number : '1.8-8' }} BTC
</ng-template>
</ng-template>