mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
feat(ribbon): hide file details when opening PDF (closes #6873)
This commit is contained in:
@@ -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"),
|
||||||
|
|||||||
Reference in New Issue
Block a user