Skip to content

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

fix: use correct tag id to get alias

thecodrrc60c2bc95932
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.js
index 61e5bee7f..33b43d591 100644
--- a/packages/core/collections/tags.js
+++ b/packages/core/collections/tags.js
@@ -65,7 +65,7 @@ export default class Tags extends Collection {
return;
}
- return this._db.settings.getAlias(tagId) || tag.title;
+ return this._db.settings.getAlias(tag.id) || tag.title;
}
get raw() {