2020-05-10 16:34:25 +02:00
|
|
|
<ng-container *ngIf="!noFiat && (viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
|
2020-02-16 16:15:07 +01:00
|
|
|
<span>{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
|
|
|
|
</ng-container>
|
|
|
|
<ng-template #viewFiatVin>
|
2020-09-28 11:32:48 +02:00
|
|
|
<ng-template [ngIf]="network === 'liquid' && (satoshis === undefined || satoshis === null)" [ngIfElse]="default">
|
2020-03-25 15:29:40 +01:00
|
|
|
Confidential
|
|
|
|
</ng-template>
|
|
|
|
<ng-template #default>
|
2020-05-10 11:03:22 +02:00
|
|
|
{{ satoshis / 100000000 | number : digitsInfo }}
|
2020-05-10 11:22:35 +02:00
|
|
|
<ng-template [ngIf]="network === 'liquid'">L-</ng-template>
|
|
|
|
<ng-template [ngIf]="network === 'testnet'">t</ng-template>BTC
|
2020-03-25 15:29:40 +01:00
|
|
|
</ng-template>
|
2020-02-16 16:15:07 +01:00
|
|
|
</ng-template>
|