This commit is contained in:
James Cole
2020-08-22 19:46:08 +02:00
parent 5e0c0e25f2
commit 1dfda62125
5 changed files with 16 additions and 30 deletions

View File

@@ -34,7 +34,7 @@
v-for="currency in this.enabledCurrencies"
:value="currency.id"
:label="currency.attributes.name"
:selected="value.currency_id === currency.id"
:selected="parseInt(value.currency_id) === parseInt(currency.id)"
>
{{ currency.attributes.name }}
@@ -67,9 +67,9 @@
props: ['source', 'destination', 'transactionType', 'value', 'error', 'no_currency', 'title',],
mounted() {
//console.log('ForeignAmountSelect mounted()');
this.liability = false;
this.loadCurrencies();
},
data() {
return {