mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files): show proper notes about overwriting files when moving
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
c80ee550c8
commit
668f7f6bca
3 changed files with 999 additions and 1003 deletions
|
|
@ -136,7 +136,7 @@ export async function * handleCopyMoveNodesTo(nodes: INode[], destination: IFold
|
|||
if (method === MoveCopyAction.MOVE) {
|
||||
// Let the user choose what to do with the conflicting files
|
||||
const content = otherNodes.filter((n) => conflicts.some((c) => c.basename === n.basename))
|
||||
const result = await openConflictPicker(destination.path, conflicts, content)
|
||||
const result = await openConflictPicker(destination.path, conflicts, content, { overwriting: true })
|
||||
if (!result) {
|
||||
// User cancelled
|
||||
return
|
||||
|
|
|
|||
1998
package-lock.json
generated
1998
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -47,7 +47,7 @@
|
|||
"@nextcloud/browserslist-config": "^3.1.2",
|
||||
"@nextcloud/calendar-availability-vue": "^2.2.11",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/dialogs": "^7.3.0",
|
||||
"@nextcloud/dialogs": "^7.4.0",
|
||||
"@nextcloud/event-bus": "^3.3.3",
|
||||
"@nextcloud/files": "^3.12.2",
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue