1
0
forked from baron/baron-sso

코드체크 업데이트

This commit is contained in:
2026-05-12 13:41:43 +09:00
parent 5e649c279f
commit d4c48da426
32 changed files with 486 additions and 85 deletions

View File

@@ -1032,12 +1032,11 @@ export function buildOrgSelectionOptions(
(familyRoot?.children ?? []).filter((node) =>
["COMPANY_GROUP", "COMPANY", "ORGANIZATION"].includes(node.type),
),
)
.map((node) => ({
descendants: collectOrgSelectionDescendants(node, 2),
id: node.id,
label: node.name,
}));
).map((node) => ({
descendants: collectOrgSelectionDescendants(node, 2),
id: node.id,
label: node.name,
}));
}
function getOrgSelectionLabel(