TagSpaces is an offline, open source, document manager with tagging support
sorting tags in all tags lists #849
Ilian Sapundshievd2c41ca01724
diff --git a/app/reducers/taglibrary.js b/app/reducers/taglibrary.jsindex eb74e886b..0973f1c4d 100644--- a/app/reducers/taglibrary.js+++ b/app/reducers/taglibrary.js@@ -468,7 +468,7 @@ export const getAllTags = (state: Object) => {allTags.push(tag);});});- return allTags;+ return allTags.sort((a, b) => (a.title > b.title ? 1 : a.title < b.title ? -1 : 0));};export const getTagColors = (state: Object, tagTitle: string) => {