diff --git a/src/components/pages/gallery/Upload.tsx b/src/components/pages/gallery/Upload.tsx index 77062826a..ec6176d7a 100644 --- a/src/components/pages/gallery/Upload.tsx +++ b/src/components/pages/gallery/Upload.tsx @@ -113,7 +113,7 @@ export default function Upload(props: Props) { props.setFiles ); - if (isElectron()) { + if (isElectron() && ImportService.checkAllElectronAPIsExists()) { ImportService.getPendingUploads().then( ({ files: electronFiles, collectionName, type }) => { resumeDesktopUpload(type, electronFiles, collectionName);