mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 05:09:54 +01:00
feat(status_bar): indicate selected code mime in menu
This commit is contained in:
@@ -364,6 +364,7 @@ function CodeNoteSwitcher({ note }: StatusBarContext) {
|
||||
dropdownOptions={{ autoClose: true }}
|
||||
>
|
||||
<NoteTypeCodeNoteList
|
||||
currentMimeType={currentNoteMime}
|
||||
mimeTypes={mimeTypes}
|
||||
changeNoteType={(type, mime) => server.put(`notes/${note.noteId}/type`, { type, mime })}
|
||||
setModalShown={() => {}}
|
||||
|
||||
Reference in New Issue
Block a user