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: deleting last colorin note does not update list
thecodrr98af3174ec82
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.jsindex e63592d46..355c60a60 100644--- a/apps/web/src/stores/editor-store.js+++ b/apps/web/src/stores/editor-store.js@@ -115,7 +115,7 @@ function editorStore(set, get) {func(note).then(id => {if (tags.length > 0) updateContext("tags", tags);- if (colors.length > 0) {+ if (oldSession.colors.length > 0) {updateContext("colors", colors);appStore.getState().refreshColors();}@@ -179,7 +179,6 @@ function editorStore(set, get) {}function setTagOrColor(session, array, value, func, set) {- console.log(arguments);const { [array]: arr, id } = session;let note = db.notes.note(id);if (!note) return;