feat(adminfront): add org chart to sidebar navigation

Adds the Organization Chart tab to the main sidebar for all users. Removes the 'View Org Chart' button from the Tenant List page. Enhances active state logic for nested routes.
This commit is contained in:
2026-04-13 10:38:04 +09:00
parent 6f934da428
commit 984adcfa62
9 changed files with 54 additions and 24 deletions
@@ -216,12 +216,6 @@ function TenantListPage() {
/>
</RoleGuard>
<Button asChild variant="outline" className="gap-2">
<Link to="/tenants/org-chart">
{t("ui.admin.tenants.view_org_chart", "전체 조직도 보기")}
</Link>
</Button>
<Button
variant="outline"
onClick={() => query.refetch()}
@@ -217,7 +217,7 @@ export function TenantOrgChartPage() {
</Link>
</Button>
<div>
<h2 className="text-xl font-bold text-slate-800">통합 조직도</h2>
<h2 className="text-xl font-bold text-slate-800">조직도</h2>
<p className="text-xs text-slate-500">
조직 구조를 효율적인 세로 계층형으로 시각화합니다.
</p>