chore(note_bars/collection): disable ribbon tab

This commit is contained in:
Elian Doran
2025-12-11 20:13:04 +02:00
parent 53b7d93efb
commit 8ab9e30404
2 changed files with 9 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [
title: t("book_properties.book_properties"),
icon: "bx bx-book",
content: CollectionPropertiesTab,
show: ({ note }) => note?.type === "book" || note?.type === "search",
show: ({ note }) => !isNewLayout && note?.type === "book" || note?.type === "search",
toggleCommand: "toggleRibbonTabBookProperties"
},
{