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
web: fix changing readonly doesn't update editor
Abdullah Atta4f5245adcfe6
diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.tsindex 23a99c4ad..3b03434f7 100644--- a/apps/web/src/stores/editor-store.ts+++ b/apps/web/src/stores/editor-store.ts@@ -297,6 +297,7 @@ class EditorStore extends BaseStore<EditorStore> {if (// when a note's readonly property is toggled(session.type !== "readonly" && !!event.item.readonly) ||+ (session.type === "readonly" && !event.item.readonly) ||// when a note is restored from trash(session.type === "deleted" && event.item.type !== "trash")) {