diff --git a/frontend/app/(main)/websites/detail/page-client.tsx b/frontend/app/(main)/websites/detail/page-client.tsx
index 4f2a3661..5a90d29c 100644
--- a/frontend/app/(main)/websites/detail/page-client.tsx
+++ b/frontend/app/(main)/websites/detail/page-client.tsx
@@ -220,64 +220,6 @@ export function WebsiteDetailPageClient() {
-
-
-
- 匹配类型
-
-
-
-
- {website.domain.startsWith('*.')
- ? '当前网站会覆盖该后缀下的子域名规则。'
- : '当前网站只匹配同名精确域名。'}
-
-
-
-
-
-
- 网站状态
-
-
-
-
- 更新时间:{formatDateTime(website.updated_at)}
-
-
-
-
-
-
- 关联规则
-
-
- 规则总数:{relatedRoutes.length}
- 已启用规则:{enabledRoutesCount}
-
-
-
-
-
- 绑定证书
-
-
-
-
- {certificateStatus
- ? `证书状态:${certificateStatus.label}`
- : '当前网站未设置默认证书。'}
-
-
-
-
-
diff --git a/frontend/components/layout/sidebar.tsx b/frontend/components/layout/sidebar.tsx
index ae3d1648..fd4a3fb1 100644
--- a/frontend/components/layout/sidebar.tsx
+++ b/frontend/components/layout/sidebar.tsx
@@ -44,7 +44,6 @@ import {
AlertDialogTitle,
} from "@/components/ui/alert-dialog"
import {
- ArrowUpRight,
Bell,
ChevronDown,
Code,
@@ -164,13 +163,9 @@ export function AppSidebar({ ...props }: React.ComponentProps) {
const adminFiltered = React.useMemo(() => {
const displayConfig = parseMenuDisplayConfig(config?.menu_display_config)
- return data.admin.filter((item) => displayConfig[item.url] !== false)
+ return data.admin.filter((item) => displayConfig[item.url])
}, [config])
- const documentFiltered = React.useMemo(() => {
- const displayConfig = parseMenuDisplayConfig(config?.menu_display_config)
- return data.document.filter((item) => displayConfig[item.url] !== false)
- }, [config])
return (
<>
@@ -329,40 +324,6 @@ export function AppSidebar({ ...props }: React.ComponentProps) {
)}
- {documentFiltered.length > 0 && (
-
-
- 文档库
-
-
-
- {documentFiltered.map((item) => (
-
-
- {item.external ? (
-
- {item.icon && }
- {item.title}
-
-
- ) : (
-
- {item.icon && }
- {item.title}
-
- )}
-
-
- ))}
-
-
-
- )}
-