forked from baron/baron-sso
custom claim 권한체크 확인
This commit is contained in:
@@ -26,6 +26,14 @@ export function getTenantSearchMatchIds(
|
||||
.map((row) => row.id);
|
||||
}
|
||||
|
||||
export function filterTenantViewRowsBySearch<T extends TenantViewRow>(
|
||||
rows: T[],
|
||||
search: string,
|
||||
) {
|
||||
if (!search.trim()) return rows;
|
||||
return rows.filter((row) => tenantMatchesListSearch(row, search));
|
||||
}
|
||||
|
||||
function collectTenantTreeRows(
|
||||
nodes: TenantNode[],
|
||||
depth: number,
|
||||
|
||||
Reference in New Issue
Block a user