mirror of
https://github.com/mempool/mempool.git
synced 2025-01-10 07:26:46 +01:00
91a45aae30
BTC ticker fix. Dropdown color fix. Miner button tooltip.
15 lines
671 B
HTML
15 lines
671 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 === undefined" [ngIfElse]="default">
|
|
Confidential
|
|
</ng-template>
|
|
<ng-template #default>
|
|
{{ satoshis / 100000000 | number : digitsInfo }}
|
|
<ng-template [ngIf]="network === 'liquid'">L-BTC</ng-template>
|
|
<ng-template [ngIf]="network === 'testnet'">tBTC</ng-template>
|
|
<ng-template [ngIf]="network === ''">BTC</ng-template>
|
|
</ng-template>
|
|
</ng-template>
|