2023-02-21 12:36:43 +09:00
|
|
|
<span class="green-color" *ngIf="blockConversion; else noblockconversion">
|
|
|
|
{{
|
|
|
|
(
|
2023-02-23 09:50:34 +09:00
|
|
|
(blockConversion.price[currency] >= 0 ? blockConversion.price[currency] : null) ??
|
2023-02-21 12:36:43 +09:00
|
|
|
(blockConversion.price['USD'] * blockConversion.exchangeRates['USD' + currency]) ?? 0
|
|
|
|
) * value / 100000000 | fiatCurrency : digitsInfo : currency
|
|
|
|
}}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<ng-template #noblockconversion>
|
|
|
|
<span class="green-color" *ngIf="(conversions$ | async) as conversions">
|
|
|
|
{{ (conversions[currency] ?? conversions['USD'] ?? 0) * value / 100000000 | fiatCurrency : digitsInfo : currency }}
|
|
|
|
</span>
|
|
|
|
</ng-template>
|