Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix issue with dnd on the current on location

Ilian Sapundshievd8483a5b0cb5
diff --git a/src/renderer/components/TargetFileBox.tsx b/src/renderer/components/TargetFileBox.tsx
index 81a7a9a22..b21d3baf6 100644
--- a/src/renderer/components/TargetFileBox.tsx
+++ b/src/renderer/components/TargetFileBox.tsx
@@ -123,11 +123,7 @@ function TargetFileBox(props: Props) {
}
if (files && files.length) {
- if (
- AppConfig.isElectron &&
- !currentLocation.haveObjectStoreSupport() &&
- !currentLocation.haveWebDavSupport()
- ) {
+ if (AppConfig.isElectron) {
return openMoveOrCopyFilesDialog(files, dirPath);
} else {
return handleCopyFiles(files);