Unverified Commit ed190cd4 authored by Athurg Gooth's avatar Athurg Gooth Committed by GitHub

fix: visibility of memo editor is empty (#2580)

Fix visibility of memo editor is empty
parent 33dda9bf
......@@ -80,7 +80,7 @@ const MemoEditor = (props: Props) => {
}, []);
useEffect(() => {
let visibility = userSetting.memoVisibility;
let visibility = userSetting.memoVisibility || "PRIVATE";
if (systemStatus.disablePublicMemos && visibility === "PUBLIC") {
visibility = "PRIVATE";
}
......
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