feat(note_info): hide ribbon on new layout

This commit is contained in:
Elian Doran 2025-12-11 16:48:49 +02:00
parent 3795ce2143
commit 68591fb511
No known key found for this signature in database

View File

@ -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"
} }