diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 3bd8c8b3..84f1f52c 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -32,6 +32,7 @@ const { draft } = $(draftState) const { isExceedingAttachmentLimit, isUploading, failedAttachments, isOverDropZone, uploadAttachments, pickAttachments, setDescription, removeAttachment, + dropZoneRef, } = $(useUploadMediaAttachment($$(draft))) let { shouldExpanded, isExpanded, isSending, isPublishDisabled, publishDraft } = $(usePublish( diff --git a/composables/masto/publish.ts b/composables/masto/publish.ts index 3bca26f6..13c15940 100644 --- a/composables/masto/publish.ts +++ b/composables/masto/publish.ts @@ -143,6 +143,7 @@ export const useUploadMediaAttachment = (draftRef: Ref) => { isUploading, isExceedingAttachmentLimit, failedAttachments, + dropZoneRef, isOverDropZone, uploadAttachments,