Only show supported currencies - Tweak UI

This commit is contained in:
nymkappa
2023-02-15 15:01:07 +09:00
parent b8a1a6da87
commit 3ab239ee5f
4 changed files with 12 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
<div [formGroup]="fiatForm" class="text-small text-center">
<select formControlName="fiat" class="custom-select custom-select-sm form-control-secondary form-control mx-auto" style="width: 180px;" (change)="changeFiat()">
<option *ngFor="let currency of currencyList" [value]="currency">{{ currencies[currency].name }}</option>
<select formControlName="fiat" class="custom-select custom-select-sm form-control-secondary form-control mx-auto" style="width: 200px;" (change)="changeFiat()">
<option *ngFor="let currency of currencies" [value]="currency[1].code">{{ currency[1].name + " (" + currency[1].code + ")" }}</option>
</select>
</div>