diff --git a/web/src/components/setting/AccountSection.tsx b/web/src/components/setting/AccountSection.tsx index 2dc2773..b3242a7 100644 --- a/web/src/components/setting/AccountSection.tsx +++ b/web/src/components/setting/AccountSection.tsx @@ -11,10 +11,13 @@ const AccountSection: React.FC = () => { return ( <> -
Account
-{user.nickname}
-+
Account
++ Nickname: + {user.nickname} +
+Email: {user.email}
diff --git a/web/src/components/setting/WorkspaceSection.tsx b/web/src/components/setting/WorkspaceSection.tsx index ec8c928..f969d54 100644 --- a/web/src/components/setting/WorkspaceSection.tsx +++ b/web/src/components/setting/WorkspaceSection.tsx @@ -1,4 +1,4 @@ -import { Switch } from "@mui/joy"; +import { Checkbox } from "@mui/joy"; import { useEffect, useState } from "react"; import { getSystemStatus, upsertWorkspaceSetting } from "../../helpers/api"; @@ -20,9 +20,14 @@ const WorkspaceSection: React.FC = () => { <>Workspace settings
-Once disabled, other users cannot signup.