Unverified Commit 3b1bab65 authored by Athurg Gooth's avatar Athurg Gooth Committed by GitHub

fix: system memo visibility was replace by user's setting (#1707)

Co-authored-by: 's avatarAthurg Feng <athurg@gooth.org>
parent 0cea5eba
......@@ -23,7 +23,7 @@ const MemoVisibilitySelector = () => {
if (systemStatus.disablePublicMemos) {
editorStore.setMemoVisibility("PRIVATE");
}
}, [systemStatus.disablePublicMemos]);
}, [systemStatus.disablePublicMemos, editorState.memoVisibility]);
const handleMemoVisibilityOptionChanged = async (value: string) => {
const visibilityValue = value as Visibility;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment