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