Merge pull request #3943 from mempool/mononaut/missing-fiat-alignment

Add spacer for missing fiat values
This commit is contained in:
softsimon 2023-07-13 11:10:46 +09:00 committed by GitHub
commit 04bc43e188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>