Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Simplify description field.
James Colee1826cdfb24c
diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vueindex 8cf4630f3c..e4be93db3f 100644--- a/frontend/src/components/transactions/Create.vue+++ b/frontend/src/components/transactions/Create.vue@@ -33,7 +33,7 @@:custom-fields="customFields":submitted-transaction="submittedTransaction"v-on:uploaded-attachments="uploadedAttachment($event)"- v-on:set-description="storeDescription(index, $event)"+ v-on:set-description="storeField($event)"v-on:set-marker-location="storeLocation(index, $event)"v-on:set-source-account-id="storeAccountValue(index, 'source', 'id', $event)"v-on:set-source-account-name="storeAccountValue(index, 'source', 'name', $event)"@@ -408,6 +408,9 @@ export default {this.calculateTransactionType(index);}},+ storeField: function(payload) {+ this.updateField(payload);+ },storeDescription: function (index, value) {this.updateField({field: 'description', index: index, value: value});},diff --git a/frontend/src/components/transactions/TransactionDescription.vue b/frontend/src/components/transactions/TransactionDescription.vueindex be943e904b..1446014229 100644--- a/frontend/src/components/transactions/TransactionDescription.vue+++ b/frontend/src/components/transactions/TransactionDescription.vue@@ -86,7 +86,7 @@ export default {},watch: {description: function (value) {- this.$emit('set-description', value);+ this.$emit('set-description', {field: 'description', index: this.index, value: value});//}},