diff --git a/web/src/components/Settings/SystemSection.tsx b/web/src/components/Settings/SystemSection.tsx index add1c2a5..4b6f94a2 100644 --- a/web/src/components/Settings/SystemSection.tsx +++ b/web/src/components/Settings/SystemSection.tsx @@ -74,6 +74,7 @@ const SystemSection = () => { ...state, allowSignUp: value, }); + globalStore.setSystemStatus({ allowSignUp: value }); await api.upsertSystemSetting({ name: "allow-signup", value: JSON.stringify(value), @@ -197,7 +198,7 @@ const SystemSection = () => { ...state, memoDisplayWithUpdatedTs: value, }); - globalStore.setSystemStatus({ disablePublicMemos: value }); + globalStore.setSystemStatus({ memoDisplayWithUpdatedTs: value }); await api.upsertSystemSetting({ name: "memo-display-with-updated-ts", value: JSON.stringify(value),