diff --git a/plugins/attachment-resources/src/components/AttachmentStyleBoxEditor.svelte b/plugins/attachment-resources/src/components/AttachmentStyleBoxEditor.svelte index fa88fa6e80..7117cdd6d2 100644 --- a/plugins/attachment-resources/src/components/AttachmentStyleBoxEditor.svelte +++ b/plugins/attachment-resources/src/components/AttachmentStyleBoxEditor.svelte @@ -1,14 +1,14 @@ @@ -74,6 +74,8 @@ return } + descriptionBox.createAttachments() + const old = getAttribute(client, object, key) if (description !== old) { await updateAttribute(client, object, object._class, key, description) @@ -85,8 +87,6 @@ } else { haveUnsavedChanges = false } - - await descriptionBox.createAttachments() } let saveTrigger: any