TagSpaces is an offline, open source, document manager with tagging support
fix upload file in root of S3
sytolkc3a5eab75f2f
diff --git a/app/components/TargetFileBox.tsx b/app/components/TargetFileBox.tsxindex 2d280d8bb..29eda1e2c 100644--- a/app/components/TargetFileBox.tsx+++ b/app/components/TargetFileBox.tsx@@ -66,7 +66,7 @@ function TargetFileBox(props: Props) {}if (files) {console.log('Dropped files: ' + JSON.stringify(files));- if (!currentDirectoryPath) {+ if (currentDirectoryPath === undefined) {showNotification('Importing files failed, because no folder is opened in TagSpaces!','error',