2023-04-04 11:42:06 +09:00
|
|
|
<span [class]="colorClass" *ngIf="blockConversion; else noblockconversion">
|
2023-02-21 12:36:43 +09:00
|
|
|
{{
|
|
|
|
(
|
2023-03-04 10:51:13 +09:00
|
|
|
(blockConversion.price[currency] > -1 ? blockConversion.price[currency] : null) ??
|
|
|
|
(blockConversion.price['USD'] > -1 ? blockConversion.price['USD'] * blockConversion.exchangeRates['USD' + currency] : null) ?? 0
|
2023-02-21 12:36:43 +09:00
|
|
|
) * value / 100000000 | fiatCurrency : digitsInfo : currency
|
|
|
|
}}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<ng-template #noblockconversion>
|
2023-07-11 11:18:17 +09:00
|
|
|
<span [class]="colorClass" *ngIf="(conversions$ | async) as conversions; else noconversion">
|
2023-03-04 10:51:13 +09:00
|
|
|
{{ (conversions[currency] > -1 ? conversions[currency] : 0) * value / 100000000 | fiatCurrency : digitsInfo : currency }}
|
2023-02-21 12:36:43 +09:00
|
|
|
</span>
|
2023-07-11 11:18:17 +09:00
|
|
|
<ng-template #noconversion>
|
|
|
|
<span> </span>
|
|
|
|
</ng-template>
|
2023-02-21 12:36:43 +09:00
|
|
|
</ng-template>
|