Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: tag is not defined

thecodrra48840e167a0
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.js
index f04e22f36..7e96f9570 100644
--- a/packages/core/collections/tags.js
+++ b/packages/core/collections/tags.js
@@ -71,7 +71,7 @@ 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) || tag.title;
+ item.alias = this._db.settings.getAlias(item.id) || item.title;
return item;
});
}