Skip to content

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

fix: sync by pressing sync button

thecodrrb10b7fd438ce
diff --git a/apps/web/src/components/navigation-menu/index.js b/apps/web/src/components/navigation-menu/index.js
index dd02df2da..7bc3a4f53 100644
--- a/apps/web/src/components/navigation-menu/index.js
+++ b/apps/web/src/components/navigation-menu/index.js
@@ -49,6 +49,7 @@ function NavigationMenu(props) {
const isSyncing = useUserStore((store) => store.isSyncing);
const isLoggedIn = useUserStore((store) => store.isLoggedIn);
const logout = useUserStore((store) => store.logout);
+ const sync = useUserStore((store) => store.sync);
const theme = useThemeStore((store) => store.theme);
const toggleNightMode = useThemeStore((store) => store.toggleNightMode);
const isMobile = useMobile();
@@ -154,6 +155,7 @@ function NavigationMenu(props) {
title="Sync"
isLoading={isSyncing}
icon={Icon.Sync}
+ onClick={sync}
/>
<NavigationItem
title="Logout"
diff --git a/apps/web/yarn.lock b/apps/web/yarn.lock
index 2b9b9d719..c6b499e9b 100644
--- a/apps/web/yarn.lock
+++ b/apps/web/yarn.lock
@@ -7644,7 +7644,7 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:
"notes-core@git+ssh://[email protected]:streetwriters/notesnook-core.git":
version "1.5.0"
- resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#24951bd7957f86c48ac303d831c1b36e1ad0df5d"
+ resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#db38259561bd5f713f992ac631e61b41e07247d1"
dependencies:
fast-sort "^2.0.1"
fuzzysearch "^1.0.3"