Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(ribbon): hide file details when opening PDF (closes #6873)
Elian Doranbb3ac277f4e5
diff --git a/apps/client/src/widgets/ribbon/Ribbon.tsx b/apps/client/src/widgets/ribbon/Ribbon.tsxindex 68490a18dd..ff908f00fc 100644--- a/apps/client/src/widgets/ribbon/Ribbon.tsx+++ b/apps/client/src/widgets/ribbon/Ribbon.tsx@@ -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"),