From 2fdc214c21706d89f3d572ddd2180cd9b5f48b47 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Wed, 7 Jan 2026 21:56:53 -0800 Subject: [PATCH] remove download icon from non-electron contexts --- .../features/context-menu/actions/download-action.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/features/context-menu/actions/download-action.tsx b/src/renderer/features/context-menu/actions/download-action.tsx index 01de6df1c..4ee7a7765 100644 --- a/src/renderer/features/context-menu/actions/download-action.tsx +++ b/src/renderer/features/context-menu/actions/download-action.tsx @@ -43,6 +43,10 @@ export const DownloadAction = ({ ids }: DownloadActionProps) => { } }, [ids, server, t]); + if (!utils) { + return null; + } + return ( 1} leftIcon="download" onSelect={onSelect}> {t('page.contextMenu.download', { postProcess: 'sentenceCase' })}