feat(status_bar): indicate selected code mime in menu

This commit is contained in:
Elian Doran
2025-12-13 01:10:38 +02:00
parent db04514769
commit 88a779bbdb
2 changed files with 4 additions and 1 deletions

View File

@@ -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={() => {}}