mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
feat(note_info): hide ribbon on new layout
This commit is contained in:
parent
3795ce2143
commit
68591fb511
@ -132,7 +132,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [
|
|||||||
{
|
{
|
||||||
title: t("note_info_widget.title"),
|
title: t("note_info_widget.title"),
|
||||||
icon: "bx bx-info-circle",
|
icon: "bx bx-info-circle",
|
||||||
show: ({ note }) => !!note,
|
show: ({ note }) => !isNewLayout && !!note,
|
||||||
content: NoteInfoTab,
|
content: NoteInfoTab,
|
||||||
toggleCommand: "toggleRibbonTabNoteInfo"
|
toggleCommand: "toggleRibbonTabNoteInfo"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user