TagSpaces is an offline, open source, document manager with tagging support
fix Copy files from local to s3 with dnd recreates the local folder structure in s3
sytolk546e1777bee5
diff --git a/src/renderer/components/LocationView.tsx b/src/renderer/components/LocationView.tsxindex 25d885ab1..90f3d8e92 100644--- a/src/renderer/components/LocationView.tsx+++ b/src/renderer/components/LocationView.tsx@@ -152,7 +152,7 @@ function LocationView(props: Props) {}const itemLocation = item.targetLocation;const targetLocation = findLocation(itemLocation?.locationID);- let targetPath = itemLocation ? itemLocation.path : undefined;+ let targetPath = itemLocation ? itemLocation.path || '' : undefined;if (targetPath === undefined) {targetPath = item.targetPath;}