Skip to content

Commit 3388872

Browse files
Merge pull request #54780 from nextcloud/backport/54738/stable31
2 parents 07a849f + 6d0db1b commit 3388872

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files/src/services/DropServiceUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const resolveConflict = async <T extends ((Directory|File)|Node)>(files:
158158
logger.debug('Conflict resolution', { uploads, selected, renamed })
159159

160160
// If the user selected nothing, we cancel the upload
161-
if (selected.length === 0 && renamed.length === 0) {
161+
if (selected.length === 0 && renamed.length === 0 && uploads.length === 0) {
162162
// User skipped
163163
showInfo(t('files', 'Conflicts resolution skipped'))
164164
logger.info('User skipped the conflict resolution')

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)