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
refactor: cleanup
thecodrrd1f7b87f197e
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.jsindex b66b4aa1f..32e11c59f 100644--- a/packages/core/collections/notes.js+++ b/packages/core/collections/notes.js@@ -222,19 +222,6 @@ export default class Notes {for (let id of noteIds) {let note = this.get(id);if (!note) continue;- /* if (note.notebook && note.notebook.id & note.notebook.topic) {- if (- note.notebook.id === notebook.id &&- note.notebook.topic === topic.title- ) {- continue;- }- let topic = this.notebooks- .topics(note.notebook.id)- .topic(note.notebook.topic);- if (!topic) continue;- await topic.delete(id);- } */await topic.add(id);}});