Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: cancel out of no changes save (#4335)
RoccoSmit2f4c5d7bc21e
diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsxindex 6c3b51caf..64b27056a 100644--- a/web/src/components/MemoEditor/index.tsx+++ b/web/src/components/MemoEditor/index.tsx@@ -336,6 +336,9 @@ const MemoEditor = (props: Props) => {}if (updateMask.size === 0) {toast.error("No changes detected");+ if (onCancel) {+ onCancel();+ }return;}const memo = await memoStore.updateMemo(memoPatch, Array.from(updateMask));