Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Only load when in electron

Manav Rathi57d09c08d437
diff --git a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
index c9c734cd98..6b4a6f43d5 100644
--- a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
+++ b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx
@@ -206,7 +206,12 @@ export default function UtilitySection({ closeSidebar }) {
closeSidebar={closeSidebar}
setLoading={startLoading}
/>
- <WatchFolder open={watchFolderView} onClose={closeWatchFolder} />
+ {isElectron() && (
+ <WatchFolder
+ open={watchFolderView}
+ onClose={closeWatchFolder}
+ />
+ )}
<Preferences
open={preferencesView}
onClose={closePreferencesOptions}