diff --git a/ui/src/i18n/locales/en/nls.common.json b/ui/src/i18n/locales/en/nls.common.json
index 0c3cd5df..32241963 100644
--- a/ui/src/i18n/locales/en/nls.common.json
+++ b/ui/src/i18n/locales/en/nls.common.json
@@ -20,7 +20,6 @@
"common.menu.theme": "Change theme",
"common.menu.locale": "Change language",
- "common.menu.settings": "Settings",
"common.menu.logout": "Log-out",
"common.menu.document": "Document",
diff --git a/ui/src/i18n/locales/zh/nls.common.json b/ui/src/i18n/locales/zh/nls.common.json
index fe3a9e06..8458c5b5 100644
--- a/ui/src/i18n/locales/zh/nls.common.json
+++ b/ui/src/i18n/locales/zh/nls.common.json
@@ -20,7 +20,6 @@
"common.menu.theme": "切换主题",
"common.menu.locale": "切换语言",
- "common.menu.settings": "系统设置",
"common.menu.logout": "退出登录",
"common.menu.document": "文档",
diff --git a/ui/src/pages/ConsoleLayout.tsx b/ui/src/pages/ConsoleLayout.tsx
index 4fbaf492..ed9d635f 100644
--- a/ui/src/pages/ConsoleLayout.tsx
+++ b/ui/src/pages/ConsoleLayout.tsx
@@ -31,10 +31,6 @@ const ConsoleLayout = () => {
navigate("/login");
};
- const handleSettingsClick = () => {
- navigate("/settings/account");
- };
-
const auth = getAuthStore();
if (!auth.isValid || !auth.isSuperuser) {
return ;
@@ -66,9 +62,6 @@ const ConsoleLayout = () => {
-
- } size="large" onClick={handleSettingsClick} />
-
} size="large" onClick={handleLogoutClick} />
@@ -94,11 +87,13 @@ const SiderMenu = memo(({ onSelect }: { onSelect?: (key: string) => void }) => {
const MENU_KEY_WORKFLOWS = "/workflows";
const MENU_KEY_CERTIFICATES = "/certificates";
const MENU_KEY_ACCESSES = "/accesses";
+ const MENU_KEY_SETTINGS = "/settings";
const menuItems: Required["items"] = [
[MENU_KEY_HOME, , t("dashboard.page.title")],
[MENU_KEY_WORKFLOWS, , t("workflow.page.title")],
[MENU_KEY_CERTIFICATES, , t("certificate.page.title")],
[MENU_KEY_ACCESSES, , t("access.page.title")],
+ [MENU_KEY_SETTINGS, , t("settings.page.title")],
].map(([key, icon, label]) => {
return {
key: key as string,