From 2ebdd0b4f8671e24ed5fbcbfab0f4e0f4ceec6d6 Mon Sep 17 00:00:00 2001 From: Kent Delante Date: Fri, 19 Jun 2026 16:46:06 +0800 Subject: [PATCH] fix(files): remove leading slash from destination in copy/move toast Signed-off-by: Kent Delante --- apps/files/src/actions/moveOrCopyAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/src/actions/moveOrCopyAction.ts b/apps/files/src/actions/moveOrCopyAction.ts index e8edec16f52..e676a71e67b 100644 --- a/apps/files/src/actions/moveOrCopyAction.ts +++ b/apps/files/src/actions/moveOrCopyAction.ts @@ -159,7 +159,7 @@ export async function* handleCopyMoveNodesTo(nodes: INode[], destination: IFolde const actionFinished = createLoadingNotification( method, nodes.map((node) => node.displayname), - join(destination.dirname, destination.displayname), + join(destination.dirname, destination.displayname).replace(/^\//, ''), ) const queue = getQueue() try {