TagSpaces is an offline, open source, document manager with tagging support
fix: issue with dnd of tags to folder in an edge case #2434
Ilian Sapundshievd6e7b6fbe48f
diff --git a/src/renderer/hooks/TaggingActionsContextProvider.tsx b/src/renderer/hooks/TaggingActionsContextProvider.tsxindex b3adaf61f..945452334 100644--- a/src/renderer/hooks/TaggingActionsContextProvider.tsx+++ b/src/renderer/hooks/TaggingActionsContextProvider.tsx@@ -529,11 +529,13 @@ export const TaggingActionsContextProvider = ({if (entry.meta) {const uniqueTags = getNonExistingTags(tags,- extractTags(- entry.path,- tagDelimiter,- currentLocation?.getDirSeparator(),- ),+ entry.isFile+ ? extractTags(+ entry.path,+ tagDelimiter,+ currentLocation?.getDirSeparator(),+ )+ : [],entry.meta.tags,);if (uniqueTags.length > 0) {