Use watch to change localDescription

This commit is contained in:
Sean King 2022-06-26 13:25:36 -06:00
commit 8c7f4ab481
No known key found for this signature in database
GPG key ID: 510C52BACD6E7257
2 changed files with 6 additions and 3 deletions

View file

@ -129,6 +129,9 @@ const Attachment = {
...mapGetters(['mergedConfig'])
},
watch: {
'attachment.description' (newVal) {
this.localDescription = newVal
},
localDescription (newVal) {
this.onEdit(newVal)
}