A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: always get alias from settings in tags
thecodrr05ebddcfc863
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.jsindex d91e4f82d..6e89a24b7 100644--- a/packages/core/collections/tags.js+++ b/packages/core/collections/tags.js@@ -30,7 +30,6 @@ export default class Tags extends Collection {type: "tag",id,title: tag.title,- alias: tag.title,noteIds: setManipulator.union(notes, noteIds),};@@ -61,7 +60,7 @@ export default class Tags extends Collection {return;}- return tag.alias || this._db.settings.getAlias(tagId) || tag.title;+ return this._db.settings.getAlias(tagId) || tag.title;}get raw() {@@ -70,7 +69,6 @@ export default class Tags extends Collection {get all() {return this._collection.getItems(undefined, (item) => {- if (item.alias) return item;item.alias = this._db.settings.getAlias(item.id) || item.title;return item;});