diff --git a/apps/client/src/widgets/ribbon/Ribbon.tsx b/apps/client/src/widgets/ribbon/Ribbon.tsx index 68490a18d..ff908f00f 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([ content: FilePropertiesTab, show: ({ note }) => note?.type === "file", toggleCommand: "toggleRibbonTabFileProperties", - activate: true + activate: ({ note }) => note?.mime !== "application/pdf" }, { title: t("image_properties.title"),