This commit is contained in:
James Cole
2019-09-06 17:18:33 +02:00
parent a6164456e6
commit 69af0c3d65
2 changed files with 4 additions and 4 deletions

2
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -19,10 +19,9 @@
--> -->
<template> <template>
<div class="form-group" v-bind:class="{ 'has-error': hasError()}" v-if="this.enabledCurrencies.length > 2"> <div class="form-group" v-bind:class="{ 'has-error': hasError()}" v-if="(this.enabledCurrencies.length > 2 && this.transactionType === 'Deposit') || this.transactionType === 'Transfer'">
<div class="col-sm-4"> <div class="col-sm-4">
<select class="form-control" ref="currency_select" name="foreign_currency[]" <select class="form-control" ref="currency_select" name="foreign_currency[]" @input="handleInput">
v-if="this.enabledCurrencies.length > 2" @input="handleInput">
<option <option
v-for="currency in this.enabledCurrencies" v-for="currency in this.enabledCurrencies"
v-if="currency.enabled" v-if="currency.enabled"
@@ -93,6 +92,7 @@
} }
} }
} }
console.log('Enabled currencies length is now ' + this.enabledCurrencies.length);
return; return;
} }
// if type is withdrawal, list all but skip the source account ID. // if type is withdrawal, list all but skip the source account ID.