mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix paste
This commit is contained in:
1 parent
5212773d0a
commit
bf02cf4058
1 file changed
+1
-1
@@ -1553,7 +1553,7 @@ export default {
|
||||
const currentArea = this.selectedAreaRef.value
|
||||
const defaultAttachmentUuid = this.template.schema[0]?.attachment_uuid
|
||||
|
||||
if (field && currentArea) {
|
||||
if (field && (currentArea || targetPosition)) {
|
||||
const attachmentUuid = targetPosition?.attachment_uuid ||
|
||||
(this.template.documents.find((d) => d.uuid === currentArea.attachment_uuid) ? currentArea.attachment_uuid : null) ||
|
||||
defaultAttachmentUuid
|
||||
|
||||
Reference in new issue
Block a user