mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
Merge pull request #52363 from nextcloud/backport/52296/stable31
[stable31] fix(files): prevent dragging preview when drag-drop
This commit is contained in:
commit
20160afd62
3 changed files with 4 additions and 4 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
|
||||
}
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue