fix(files): remove leading slash from destination in copy/move toast

Signed-off-by: Kent Delante <kent@delante.me>
pull/61435/head
Kent Delante 2 months ago committed by nextcloud-command
parent f5b08ba7f5
commit 2ebdd0b4f8
  1. 2
      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 {

Loading…
Cancel
Save