remove download icon from non-electron contexts

This commit is contained in:
Kendall Garner
2026-01-07 21:56:53 -08:00
parent 652be94eb2
commit 2fdc214c21
@@ -43,6 +43,10 @@ export const DownloadAction = ({ ids }: DownloadActionProps) => {
}
}, [ids, server, t]);
if (!utils) {
return null;
}
return (
<ContextMenu.Item disabled={ids.length > 1} leftIcon="download" onSelect={onSelect}>
{t('page.contextMenu.download', { postProcess: 'sentenceCase' })}