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: do not add empty tags to note
thecodrre0f8625224fe
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.jsindex d71fa91fc..6dd824781 100644--- a/packages/core/collections/notes.js+++ b/packages/core/collections/notes.js@@ -102,6 +102,7 @@ export default class Notes extends Collection {if (note.color) await this._db.colors.add(note.color, id);for (let tag of note.tags) {+ if (!tag || !tag.trim()) continue;await this._db.tags.add(tag, id);}}