mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-23 19:51:24 +00:00
Update frontend.
This commit is contained in:
@@ -57,7 +57,8 @@ export default {
|
||||
return {
|
||||
descriptions: [],
|
||||
initialSet: [],
|
||||
description: this.value
|
||||
description: this.value,
|
||||
sendEvent: true
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -85,9 +86,15 @@ export default {
|
||||
}, 300)
|
||||
},
|
||||
watch: {
|
||||
value: function (value) {
|
||||
this.sendEvent = false;
|
||||
this.description = value;
|
||||
},
|
||||
description: function (value) {
|
||||
this.$emit('set-field', {field: 'description', index: this.index, value: value});
|
||||
//
|
||||
if (true === this.sendEvent) {
|
||||
this.$emit('set-field', {field: 'description', index: this.index, value: value});
|
||||
}
|
||||
this.sendEvent = true;
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user