Skip to content

Commit 449c448

Browse files
authored
Merge pull request #63039 from nextcloud/backport/61435/stable34
[stable34] fix(files): remove leading slash from destination in copy/move toast
2 parents 2cb53ed + 369eee6 commit 449c448

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/files/src/actions/moveOrCopyAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export async function* handleCopyMoveNodesTo(nodes: INode[], destination: IFolde
159159
const actionFinished = createLoadingNotification(
160160
method,
161161
nodes.map((node) => node.displayname),
162-
join(destination.dirname, destination.displayname),
162+
join(destination.dirname, destination.displayname).replace(/^\//, ''),
163163
)
164164
const queue = getQueue()
165165
try {

dist/files-init.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-init.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.

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)