mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 13:19:54 +01:00
feat(layout/inline-title): add icons
This commit is contained in:
@@ -144,6 +144,7 @@ function NoteTypeSwitcher() {
|
|||||||
<Badge
|
<Badge
|
||||||
key={noteType.type}
|
key={noteType.type}
|
||||||
text={noteType.title}
|
text={noteType.title}
|
||||||
|
icon={`bx ${noteType.icon}`}
|
||||||
onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })}
|
onClick={() => server.put(`notes/${note.noteId}/type`, { type: noteType.type, mime: noteType.mime })}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user