Skip to content

Commit 49e4dd1

Browse files
authored
Merge pull request #52362 from nextcloud/backport/52296/stable30
2 parents 7a9632d + 4f2970d commit 49e4dd1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files/src/components/FileEntryMixin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export default defineComponent({
461461
logger.debug('Dropped', { event, folder, selection, fileTree })
462462

463463
// Check whether we're uploading files
464-
if (fileTree.contents.length > 0) {
464+
if (selection.length === 0 && fileTree.contents.length > 0) {
465465
await onDropExternalFiles(fileTree, folder, contents.contents)
466466
return
467467
}

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)