Skip to content

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

fix: get color alias for menu on open

thecodrr162399aa450c
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.js
index 67f31acea..682ba4cc6 100644
--- a/apps/web/src/components/note/index.js
+++ b/apps/web/src/components/note/index.js
@@ -343,7 +343,7 @@ function colorsToMenuItems() {
label = label.toLowerCase();
return {
key: label,
- title: db.colors.alias(label) || label,
+ title: () => db.colors.alias(label) || label,
icon: Icon.Circle,
iconColor: label,
checked: ({ note }) => {