TagSpaces is an offline, open source, document manager with tagging support
fixing add tags issue
Ilian Sapundshieve236d9323a58
diff --git a/app/reducers/taglibrary.ts b/app/reducers/taglibrary.tsindex f721f1f07..d7c4641ce 100644--- a/app/reducers/taglibrary.ts+++ b/app/reducers/taglibrary.ts@@ -201,8 +201,8 @@ export default (state: Array<TagGroup> = defaultTagLibrary, action: any) => {.split(' ').join(',').split(','); // handle spaces around commas- tags = new Set(tags); // remove duplicates- tags = tags.filter(tag => tag.length > 0); // zero length tags+ // tags = [...new Set(tags)]; // remove duplicates+ tags = tags.filter(tag => tag && tag.length > 0); // zero length tagsconst taggroupTags = state[indexForEditing].children;taggroupTags.forEach(tag => {