forked from baron/baron-sso
adminfront: 테넌트 상세 레이아웃 내 네이버웍스 오동작 탭을 완벽히 소거하고, 글로벌 사이드바 네이버웍스 연동 메뉴 노출 가드 동기화 완료 (#1183)
This commit is contained in:
@@ -271,7 +271,7 @@ function AppLayout() {
|
|||||||
if (item.to === "/tenants") return permissions.tenants;
|
if (item.to === "/tenants") return permissions.tenants;
|
||||||
if (item.to === orgfrontUrl) return permissions.org_chart;
|
if (item.to === orgfrontUrl) return permissions.org_chart;
|
||||||
if (item.to === "/worksmobile")
|
if (item.to === "/worksmobile")
|
||||||
return permissions.worksmobile && showWorksmobile;
|
return permissions.worksmobile;
|
||||||
if (item.to === "/system/ory-ssot") return permissions.ory_ssot;
|
if (item.to === "/system/ory-ssot") return permissions.ory_ssot;
|
||||||
if (item.to === "/system/data-integrity")
|
if (item.to === "/system/data-integrity")
|
||||||
return permissions.data_integrity;
|
return permissions.data_integrity;
|
||||||
|
|||||||
@@ -104,18 +104,6 @@ function TenantDetailPage() {
|
|||||||
>
|
>
|
||||||
{t("ui.admin.tenants.detail.tab_organization", "조직 관리")}
|
{t("ui.admin.tenants.detail.tab_organization", "조직 관리")}
|
||||||
</Link>
|
</Link>
|
||||||
{(hasPermission("view_worksmobile") || hasPermission("view")) && (
|
|
||||||
<Link
|
|
||||||
to={`/tenants/${tenantId}/worksmobile`}
|
|
||||||
className={`px-6 py-3 text-sm font-medium transition-colors relative ${
|
|
||||||
isWorksmobileTab
|
|
||||||
? "text-primary border-b-2 border-primary"
|
|
||||||
: "text-muted-foreground hover:text-foreground"
|
|
||||||
}`}
|
|
||||||
>
|
|
||||||
{t("ui.admin.tenants.detail.tab_worksmobile", "네이버웍스 연동")}
|
|
||||||
</Link>
|
|
||||||
)}
|
|
||||||
{hasPermission("view") && (
|
{hasPermission("view") && (
|
||||||
<Link
|
<Link
|
||||||
to={`/tenants/${tenantId}/schema`}
|
to={`/tenants/${tenantId}/schema`}
|
||||||
|
|||||||
Reference in New Issue
Block a user