mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #3710
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
console.log('Component mounted.')
|
||||
// console.log('Component mounted.')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -37,7 +37,7 @@
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
console.log('Component mounted.')
|
||||
// console.log('Component mounted.')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -148,7 +148,7 @@
|
||||
'?types=' +
|
||||
types +
|
||||
'&query=';
|
||||
console.log('Auto complete URI is now ' + this.accountAutoCompleteURI);
|
||||
// console.log('Auto complete URI is now ' + this.accountAutoCompleteURI);
|
||||
},
|
||||
hasError: function () {
|
||||
return this.error.length > 0;
|
||||
|
@@ -482,7 +482,7 @@ export default {
|
||||
this.parseErrors(error.response.data);
|
||||
|
||||
// something.
|
||||
console.log('enable button again.')
|
||||
// console.log('enable button again.')
|
||||
button.removeAttr('disabled');
|
||||
});
|
||||
|
||||
@@ -516,7 +516,7 @@ export default {
|
||||
// clear errors:
|
||||
this.setDefaultErrors();
|
||||
|
||||
console.log('enable button again.')
|
||||
// console.log('enable button again.')
|
||||
let button = $('#submitButton');
|
||||
button.removeAttr('disabled');
|
||||
} else {
|
||||
@@ -741,6 +741,8 @@ export default {
|
||||
resetTransactions: function () {
|
||||
// console.log('Now in resetTransactions()');
|
||||
this.transactions = [];
|
||||
this.group_title = '';
|
||||
|
||||
},
|
||||
addTransactionToArray: function (e) {
|
||||
// console.log('Now in addTransactionToArray()');
|
||||
@@ -865,7 +867,7 @@ export default {
|
||||
},
|
||||
|
||||
selectedSourceAccount: function (index, model) {
|
||||
console.log('Now in selectedSourceAccount()');
|
||||
// console.log('Now in selectedSourceAccount()');
|
||||
if (typeof model === 'string') {
|
||||
//console.log('model is string.')
|
||||
// cant change types, only name.
|
||||
@@ -980,6 +982,3 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
|
@@ -541,11 +541,11 @@ export default {
|
||||
// depends on the transaction type, where we get the currency.
|
||||
if('withdrawal' === transactionType || 'transfer' === transactionType) {
|
||||
row.currency_id = row.source_account.currency_id;
|
||||
console.log('Overruled currency ID to ' + row.currency_id);
|
||||
// console.log('Overruled currency ID to ' + row.currency_id);
|
||||
}
|
||||
if('deposit' === transactionType) {
|
||||
row.currency_id = row.destination_account.currency_id;
|
||||
console.log('Overruled currency ID to ' + row.currency_id);
|
||||
// console.log('Overruled currency ID to ' + row.currency_id);
|
||||
}
|
||||
|
||||
date = row.date;
|
||||
|
@@ -198,7 +198,7 @@
|
||||
for (const key in res.data.data) {
|
||||
if (res.data.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
if (res.data.data[key].attributes.enabled) {
|
||||
console.log(res.data.data[key].attributes);
|
||||
// console.log(res.data.data[key].attributes);
|
||||
this.currencies.push(res.data.data[key]);
|
||||
this.enabledCurrencies.push(res.data.data[key]);
|
||||
}
|
||||
|
@@ -105,7 +105,7 @@
|
||||
// final list:
|
||||
|
||||
this.piggies = ordered;
|
||||
console.log(ordered);
|
||||
// console.log(ordered);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user