Merge pull request #54738 from nextcloud/fix-resolve-conflict-with-dragndrop-upload

pull/54783/head
Kate 8 months ago committed by GitHub
commit 796eec5962
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/files/src/services/DropServiceUtils.ts
  2. 4
      dist/files-main.js
  3. 2
      dist/files-main.js.map

@ -158,7 +158,7 @@ export const resolveConflict = async <T extends ((Directory|File)|Node)>(files:
logger.debug('Conflict resolution', { uploads, selected, renamed })
// If the user selected nothing, we cancel the upload
if (selected.length === 0 && renamed.length === 0) {
if (selected.length === 0 && renamed.length === 0 && uploads.length === 0) {
// User skipped
showInfo(t('files', 'Conflicts resolution skipped'))
logger.info('User skipped the conflict resolution')

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save