diff options
| author | Sean King <seanking2919@protonmail.com> | 2022-06-26 13:25:36 -0600 |
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2022-06-26 13:25:36 -0600 |
| commit | 8c7f4ab481db86306b2cedca9e54d24cf8f0ebe8 (patch) | |
| tree | 4753d755a1285e43a95c32b0a2e36ab78fac2002 /src/components/attachment/attachment.js | |
| parent | 08c9aa4bf3a06531516cf72b9ffc00b44ee51d75 (diff) | |
Use watch to change localDescription
Diffstat (limited to 'src/components/attachment/attachment.js')
| -rw-r--r-- | src/components/attachment/attachment.js | 3 |
1 files changed, 3 insertions, 0 deletions
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) } |
