mirror of
https://github.com/usememos/memos.git
synced 2024-12-18 16:41:44 +03:00
fix: system memo visibility was replace by user's setting (#1707)
Co-authored-by: Athurg Feng <athurg@gooth.org>
This commit is contained in:
parent
0cea5ebaeb
commit
3b1bab651a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user