feat(breadcrumb_badges): integrate query/script tab

This commit is contained in:
Elian Doran
2025-12-11 17:43:00 +02:00
parent fa8287269f
commit a9b453c27a
5 changed files with 29 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ export const RIBBON_TAB_DEFINITIONS: TabConfiguration[] = [
icon: "bx bx-play",
content: ScriptTab,
activate: true,
show: ({ note }) => note &&
show: ({ note }) => note && !isNewLayout &&
(note.isTriliumScript() || note.isTriliumSqlite()) &&
(note.hasLabel("executeDescription") || note.hasLabel("executeButton"))
},