mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -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
2b3751a7e4
commit
511ad14338
5 changed files with 541 additions and 781 deletions
|
|
@ -134,7 +134,7 @@ export async function* handleCopyMoveNodesTo(nodes: INode[], destination: IFolde
|
|||
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
|
||||
|
|
|
|||
827
build/frontend-legacy/package-lock.json
generated
827
build/frontend-legacy/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -36,7 +36,7 @@
|
|||
"@nextcloud/axios": "^2.5.2",
|
||||
"@nextcloud/browser-storage": "^0.5.0",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/dialogs": "^7.3.0",
|
||||
"@nextcloud/dialogs": "^7.4.0",
|
||||
"@nextcloud/event-bus": "^3.3.3",
|
||||
"@nextcloud/files": "^4.0.0",
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
|
|
|
|||
489
package-lock.json
generated
489
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -45,7 +45,7 @@
|
|||
"@nextcloud/axios": "^2.5.2",
|
||||
"@nextcloud/calendar-availability-vue": "^3.0.0",
|
||||
"@nextcloud/capabilities": "^1.2.1",
|
||||
"@nextcloud/dialogs": "^7.3.0",
|
||||
"@nextcloud/dialogs": "^7.4.0",
|
||||
"@nextcloud/event-bus": "^3.3.3",
|
||||
"@nextcloud/files": "^4.0.0",
|
||||
"@nextcloud/initial-state": "^3.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue