mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Remove some debug.
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
);
|
||||
},
|
||||
changeData: function () {
|
||||
//console.log('ForeignAmountSelect changeData');
|
||||
// console.log('ForeignAmountSelect changeData');
|
||||
this.enabledCurrencies = [];
|
||||
let destType = this.destination.type ? this.destination.type.toLowerCase() : 'invalid';
|
||||
let srcType = this.source.type ? this.source.type.toLowerCase() : 'invalid';
|
||||
@@ -184,6 +184,14 @@
|
||||
enabled: true
|
||||
}
|
||||
];
|
||||
|
||||
this.enabledCurrencies = [
|
||||
{
|
||||
name: this.no_currency,
|
||||
id: 0,
|
||||
enabled: true
|
||||
}
|
||||
];
|
||||
for (const key in res.data) {
|
||||
if (res.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
if (res.data[key].enabled) {
|
||||
@@ -192,6 +200,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
// console.log(this.enabledCurrencies);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user