mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +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,
|
content: FilePropertiesTab,
|
||||||
show: ({ note }) => note?.type === "file",
|
show: ({ note }) => note?.type === "file",
|
||||||
toggleCommand: "toggleRibbonTabFileProperties",
|
toggleCommand: "toggleRibbonTabFileProperties",
|
||||||
activate: true
|
activate: ({ note }) => note?.mime !== "application/pdf"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t("image_properties.title"),
|
title: t("image_properties.title"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user