Merge pull request #52296 from nextcloud/fix/drop-file-preview

pull/50650/head
John Molakvoæ 2025-04-22 20:08:16 +07:00 committed by GitHub
commit 1f81bc05b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

@ -467,7 +467,7 @@ export default defineComponent({
logger.debug('Dropped', { event, folder, selection, fileTree })
// Check whether we're uploading files
if (fileTree.contents.length > 0) {
if (selection.length === 0 && fileTree.contents.length > 0) {
await onDropExternalFiles(fileTree, folder, contents.contents)
return
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long