A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix vault not marked as created on login if already exists for user (#9407)
01zulfi1faaf1f6b199
diff --git a/apps/web/src/app-effects.tsx b/apps/web/src/app-effects.tsxindex 2b7bcb015..8638196a3 100644--- a/apps/web/src/app-effects.tsx+++ b/apps/web/src/app-effects.tsx@@ -64,7 +64,6 @@ export default function AppEffects() {await updateLastSynced();await initUser();// await resetNotices();- setIsVaultCreated(await db.vault.exists());await FeatureDialog.show({ featureName: "highlights" });await scheduleBackups();diff --git a/apps/web/src/stores/app-store.ts b/apps/web/src/stores/app-store.tsindex 68139afd9..e0bcd214b 100644--- a/apps/web/src/stores/app-store.ts+++ b/apps/web/src/stores/app-store.ts@@ -185,6 +185,8 @@ class AppStore extends BaseStore<AppStore> {await this.refreshNavItems();+ this.set({ isVaultCreated: await db.vault.exists() });+logger.measure("refreshing app");};