mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Attempt to fix uploads.
This commit is contained in:
@@ -59,7 +59,6 @@
|
||||
//console.log('Dest "' + this.destination.name + '"');
|
||||
if (!transactionType && !this.source.name && !this.destination.name) {
|
||||
$(this.$refs.cur).text('');
|
||||
console.log('A');
|
||||
return;
|
||||
}
|
||||
if(null === transactionType) {
|
||||
@@ -68,28 +67,19 @@
|
||||
|
||||
if ('' === transactionType && '' !== this.source.currency_name) {
|
||||
$(this.$refs.cur).text(this.source.currency_name);
|
||||
console.log('B');
|
||||
return;
|
||||
}
|
||||
if ('' === transactionType && '' !== this.destination.currency_name) {
|
||||
$(this.$refs.cur).text(this.destination.currency_name);
|
||||
console.log('C');
|
||||
return;
|
||||
}
|
||||
if (transactionType === 'Withdrawal' || transactionType === 'Transfer') {
|
||||
$(this.$refs.cur).text(this.source.currency_name);
|
||||
console.log('D');
|
||||
return;
|
||||
}
|
||||
if (transactionType === 'Deposit') {
|
||||
$(this.$refs.cur).text(this.destination.currency_name);
|
||||
console.log('E');
|
||||
return;
|
||||
}
|
||||
console.log('transactionType: ' + transactionType);
|
||||
console.log('this.source.name: ' + this.source.name);
|
||||
console.log('this.destination.name: ' + this.destination.name);
|
||||
console.log('F');
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
Reference in New Issue
Block a user