New base code for mempool blockchain explorerer
This commit is contained in:
6
frontend/src/app/components/amount/amount.component.html
Normal file
6
frontend/src/app/components/amount/amount.component.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<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>
|
||||
{{ satoshis / 100000000 }} BTC
|
||||
</ng-template>
|
||||
Reference in New Issue
Block a user