mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(files): prevent dragging preview when drag-drop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
c763340bb2
commit
532f8948d1
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue