Liquid: Display block times and amounts correctly.

This commit is contained in:
softsimon
2020-03-25 21:29:40 +07:00
parent 43585be6a9
commit 350a06a096
8 changed files with 33 additions and 6 deletions

View File

@@ -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>