mirror of
https://github.com/mempool/mempool.git
synced 2025-01-10 15:30:05 +01:00
12 lines
525 B
HTML
12 lines
525 B
HTML
<ng-container *ngIf="(viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
|
|
<span>{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
|
|
</ng-container>
|
|
<ng-template #viewFiatVin>
|
|
<ng-template [ngIf]="network === 'liquid' && !satoshis" [ngIfElse]="default">
|
|
Confidential
|
|
</ng-template>
|
|
<ng-template #default>
|
|
{{ satoshis / 100000000 | number : '1.8-8' }} <ng-template [ngIf]="network === 'liquid'">L-</ng-template>BTC
|
|
</ng-template>
|
|
</ng-template>
|