mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix: resolving conflict when uploading multiple files via drag&drop
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
parent
2f8920564b
commit
edd5dee342
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue