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
fix: notes are not refreshed when notebook is deleted
thecodrrb48d8d20df25
diff --git a/apps/web/src/stores/notebook-store.js b/apps/web/src/stores/notebook-store.jsindex f5861a3db..1da385887 100644--- a/apps/web/src/stores/notebook-store.js+++ b/apps/web/src/stores/notebook-store.js@@ -1,6 +1,7 @@import { db } from "../common/db";import createStore from "../common/store";import { store as appStore } from "./app-store";+import { store as noteStore } from "./note-store";import BaseStore from "./index";import { showToast } from "../utils/toast";import { qclone } from "qclone";@@ -21,6 +22,7 @@ class NotebookStore extends BaseStore {await db.notebooks.delete(id);this.refresh();appStore.refreshMenuPins();+ noteStore.refresh();};pin = async (notebookId) => {