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: #136
thecodrr6c10c94721a3
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.jsindex 1bb9b79a0..8a42bc5d6 100644--- a/apps/web/src/common/selectionoptions.js+++ b/apps/web/src/common/selectionoptions.js@@ -3,6 +3,7 @@ import { store as appStore } from "../stores/app-store";import { store as notesStore } from "../stores/note-store";import { store as nbStore } from "../stores/notebook-store";import { store as editorStore } from "../stores/editor-store";+import { store as trashStore } from "../stores/trash-store";import { db } from "./index";import { showMoveNoteDialog } from "../components/dialogs/movenotedialog";import { confirm } from "../components/dialogs/confirm";@@ -80,7 +81,8 @@ const AddToNotebookOption = createOption(Icon.Plus, async function(state) {const RestoreOption = createOption(Icon.Restore, async function(state) {const items = state.selectedItems.map(item => item.id);- await db.trash.restore(items);+ await db.trash.restore(...items);+ trashStore.getState().refresh();});const NotesOptions = createOptions([AddToNotebookOption, FavoriteOption]);diff --git a/apps/web/yarn.lock b/apps/web/yarn.lockindex 7e96e644d..4cd198d45 100644--- a/apps/web/yarn.lock+++ b/apps/web/yarn.lock@@ -6905,7 +6905,7 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:"notes-core@git+ssh://[email protected]:thecodrr/notes-core.git":version "1.2.0"- resolved "git+ssh://[email protected]:thecodrr/notes-core.git#4d96299ddd160572034dca50f6e539b630540564"+ resolved "git+ssh://[email protected]:thecodrr/notes-core.git#414d6c3a5767e5ea396f23e293b8524bcd1f4fdb"dependencies:fast-sort "^2.0.1"fuzzysearch "^1.0.3"