Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style/tree/context menu: use the proper color for menu item icons
Adorian Dorand25e7915d937
diff --git a/apps/client/src/menus/context_menu.ts b/apps/client/src/menus/context_menu.tsindex 986ea94c48..415c0a2c6a 100644--- a/apps/client/src/menus/context_menu.ts+++ b/apps/client/src/menus/context_menu.ts@@ -248,7 +248,7 @@ class ContextMenu {if ("uiIcon" in item || "checked" in item) {const icon = (item.checked ? "bx bx-check" : item.uiIcon);if (icon) {- $icon.addClass(icon);+ $icon.addClass([icon, "tn-icon"]);} else {$icon.append(" ");}