mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Simplify description field.
This commit is contained in:
parent
97d12cd77a
commit
e1826cdfb2
@ -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});
|
||||
},
|
||||
|
@ -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});
|
||||
//
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user