Skip to content

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

fix: reuse alias if available in tag

thecodrr489c7b0f2f34
diff --git a/apps/web/src/components/tag/index.js b/apps/web/src/components/tag/index.js
index d38fb549b..ad02e608f 100644
--- a/apps/web/src/components/tag/index.js
+++ b/apps/web/src/components/tag/index.js
@@ -39,13 +39,13 @@ const menuItems = [
];
function Tag({ item, index }) {
- const { id, noteIds } = item;
+ const { id, noteIds, alias } = item;
return (
<ListItem
item={item}
selectable={false}
index={index}
- title={<TagNode title={db.tags.alias(id)} />}
+ title={<TagNode title={alias} />}
footer={
<Text mt={1} variant="subBody">
{noteIds.length} notes