mirror of
https://github.com/zadam/trilium.git
synced 2025-12-28 10:14:26 +01:00
feat(status_bar): display icon for code note switcher
This commit is contained in:
parent
df6331e3a0
commit
57ff2f4023
@ -428,7 +428,7 @@ function CodeNoteSwitcher({ note }: StatusBarContext) {
|
||||
return (note.type === "code" &&
|
||||
<>
|
||||
<StatusBarDropdown
|
||||
icon="bx bx-code-curly"
|
||||
icon={correspondingMimeType?.icon ?? "bx bx-code-curly"}
|
||||
text={correspondingMimeType?.title}
|
||||
title={t("status_bar.code_note_switcher")}
|
||||
dropdownContainerClassName="dropdown-code-note-switcher tn-dropdown-menu-scrollable"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user