Skip to content

Commit 76e232c

Browse files
committed
Fix currency symbols ambiguity on Create Transaction page - closes range-of-motion#391
1 parent d2ebb2b commit 76e232c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

resources/assets/js/components/TransactionWizard.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@
4040
</div>
4141
<div class="row__column ml-2">
4242
<select v-model="selectedCurrencyId">
43-
<option v-for="currency in currencies" :key="'currencies-' + currency.id" :value="currency.id">
44-
<span v-html="currency.symbol"></span>
43+
<option
44+
v-for="currency in currencies"
45+
:key="'currencies-' + currency.id"
46+
:value="currency.id"
47+
v-html="currency.symbol == currency.iso ? currency.symbol : `${currency.iso} ${currency.symbol}`"
48+
>
4549
</option>
4650
</select>
4751
</div>

0 commit comments

Comments
 (0)