From 8c7f4ab481db86306b2cedca9e54d24cf8f0ebe8 Mon Sep 17 00:00:00 2001 From: Sean King Date: Sun, 26 Jun 2022 13:25:36 -0600 Subject: Use watch to change localDescription --- src/components/attachment/attachment.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/attachment/attachment.js') diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index d62a4adc..5dc50475 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -129,6 +129,9 @@ const Attachment = { ...mapGetters(['mergedConfig']) }, watch: { + 'attachment.description' (newVal) { + this.localDescription = newVal + }, localDescription (newVal) { this.onEdit(newVal) } -- cgit v1.2.3-70-g09d2