mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(ribbon): hide file details when opening PDF (closes #6873)
This commit is contained in:
parent
68aacfea6f
commit
bb3ac277f4
@ -96,7 +96,7 @@ const TAB_CONFIGURATION = numberObjectsInPlace<TabConfiguration>([
|
||||
content: FilePropertiesTab,
|
||||
show: ({ note }) => note?.type === "file",
|
||||
toggleCommand: "toggleRibbonTabFileProperties",
|
||||
activate: true
|
||||
activate: ({ note }) => note?.mime !== "application/pdf"
|
||||
},
|
||||
{
|
||||
title: t("image_properties.title"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user