Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix `cannot read property integration of undefined`

Abdullah Attae526145e489f
diff --git a/apps/web/src/stores/setting-store.js b/apps/web/src/stores/setting-store.js
index 3c91791d9..ada5ac87c 100644
--- a/apps/web/src/stores/setting-store.js
+++ b/apps/web/src/stores/setting-store.js
@@ -76,7 +76,7 @@ class SettingStore extends BaseStore {
privacyMode: await desktop?.integration.privacyMode.query(),
zoomFactor: await desktop?.integration.zoomFactor.query(),
autoUpdates: await desktop?.updater.autoUpdates.query(),
- proxyRules: await desktop.integration.proxyRules.query()
+ proxyRules: await desktop?.integration.proxyRules.query()
});
};