Skip to content

Build your personal knowledge base with Trilium Notes

feat(layout/inline-title): add icons

Elian Doran02fab16475d8
diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsx
index abf2e6c097..6dd0512a5c 100644
--- a/apps/client/src/widgets/layout/InlineTitle.tsx
+++ b/apps/client/src/widgets/layout/InlineTitle.tsx
@@ -144,6 +144,7 @@ function NoteTypeSwitcher() {
<Badge
key={noteType.type}
text={noteType.title}
+ icon={`bx ${noteType.icon}`}
onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })}
/>
))}