fix(ContextMenu): simplify open label by removing app name

This commit is contained in:
shiyu
2025-12-18 14:21:33 +08:00
parent 4ea0b9884a
commit b582a89d08

View File

@@ -109,7 +109,7 @@ export const ContextMenu: React.FC<ContextMenuProps> = (props) => {
const menuItems: (ActionMenuItem | null)[] = [
(entry.is_dir || apps.length > 0) ? {
key: 'open',
label: defaultApp ? `${t('Open')} (${defaultApp.name})` : t('Open'),
label: t('Open'),
icon: <FolderFilled />,
onClick: () => actions.onOpen(entry),
} : null,