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
chore(note_icon): hide filter if no custom icon packs
Elian Doran8053221b12a4
diff --git a/apps/client/src/widgets/note_icon.tsx b/apps/client/src/widgets/note_icon.tsxindex 44cbf67c43..516af39231 100644--- a/apps/client/src/widgets/note_icon.tsx+++ b/apps/client/src/widgets/note_icon.tsx@@ -127,7 +127,7 @@ function NoteIconList({ note }: { note: FNote }) {autoFocus/>- <Dropdown+ {glob.iconRegistry.sources.length > 0 && <DropdownbuttonClassName="bx bx-filter-alt"hideToggleArrownoSelectButtonStyle@@ -135,7 +135,7 @@ function NoteIconList({ note }: { note: FNote }) {iconAction><IconFilterContent filterByPrefix={filterByPrefix} setFilterByPrefix={setFilterByPrefix} />- </Dropdown>+ </Dropdown>}</div><div