diff --git a/apps/web/src/components/layout/sidebar.tsx b/apps/web/src/components/layout/sidebar.tsx index 7a53adcd..29020360 100644 --- a/apps/web/src/components/layout/sidebar.tsx +++ b/apps/web/src/components/layout/sidebar.tsx @@ -159,17 +159,19 @@ export function Sidebar({ {/* 4 分區菜單 */} {NAV_SECTIONS.map(section => (
- {/* 分區標題(collapsed 時隱藏)*/} - {!collapsed && ( + {/* 分區標題 — main 不顯示,legacy 顯示分隔線+標題 */} + {!collapsed && section.sectionLabel && (
- {tSection(section.sectionKey)} + {section.sectionLabel}
)} {section.items.map(item => {