Add spacer for missing fiat values

This commit is contained in:
Mononaut 2023-07-11 11:18:17 +09:00
parent ad9d9c839b
commit 01bd9dd957
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -8,7 +8,10 @@
</span>
<ng-template #noblockconversion>
<span [class]="colorClass" *ngIf="(conversions$ | async) as conversions">
<span [class]="colorClass" *ngIf="(conversions$ | async) as conversions; else noconversion">
{{ (conversions[currency] > -1 ? conversions[currency] : 0) * value / 100000000 | fiatCurrency : digitsInfo : currency }}
</span>
<ng-template #noconversion>
<span>&nbsp;</span>
</ng-template>
</ng-template>