feat(ribbon): hide file details when opening PDF (closes #6873)

This commit is contained in:
Elian Doran 2025-09-22 18:27:13 +03:00
parent 68aacfea6f
commit bb3ac277f4
No known key found for this signature in database

View File

@ -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"),