TagSpaces is an offline, open source, document manager with tagging support
fix: tag library import functionality
Ilian Sapundshiev7e097e8e1c4f
diff --git a/app/reducers/taglibrary.ts b/app/reducers/taglibrary.tsindex a3c320d09..e4a85b591 100644--- a/app/reducers/taglibrary.ts+++ b/app/reducers/taglibrary.ts@@ -447,7 +447,7 @@ export default (state: Array<TagGroup> = defaultTagLibrary, action: any) => {if (index > -1) {tagGroup.children.forEach(tag => {const stateTag = state[index].children.find(- obj => obj.id === tag.id+ obj => obj.title === tag.title);if (stateTag === undefined) {arr[index].children.push(tag);