Skip to content

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

fixing broken tagging by disabled tags collection

Ilian Sapundshievb7b858df741b
diff --git a/app/reducers/tagging-actions.js b/app/reducers/tagging-actions.js
index 86586e9f1..d3d6083d8 100644
--- a/app/reducers/tagging-actions.js
+++ b/app/reducers/tagging-actions.js
@@ -56,6 +56,11 @@ const actions = {
return true;
});
+ paths.map((path) => {
+ dispatch(actions.addTagsToEntry(path, processedTags));
+ return true;
+ });
+
if (settings.addTagsToLibrary) { // collecting tags
// filter existed in tagLibrary
const uniqueTags = [];
@@ -78,11 +83,6 @@ const actions = {
};
dispatch(TagLibraryActions.mergeTagGroup(tagGroup));
}
-
- paths.map((path) => {
- dispatch(actions.addTagsToEntry(path, processedTags));
- return true;
- });
}
},
addTagsToEntry: (path: string, tags: Array<Tag>) => async (