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: refresh attachments on new session
thecodrr5d1088b5e358
diff --git a/apps/web/src/stores/editor-store.js b/apps/web/src/stores/editor-store.jsindex eede77568..51e7543ca 100644--- a/apps/web/src/stores/editor-store.js+++ b/apps/web/src/stores/editor-store.js@@ -186,12 +186,12 @@ class EditorStore extends BaseStore {state.session.attachmentsLength = attachments.length;});- if (attachments?.length !== oldSession.attachmentsLength)- attachmentStore.refresh();-if (!oldSession) {noteStore.refresh();+ attachmentStore.refresh();return;+ } else if (attachments?.length !== oldSession.attachmentsLength) {+ attachmentStore.refresh();}if (