diff --git a/src/app/system-management/organization/organization.component.ts b/src/app/system-management/organization/organization.component.ts index 9deaf31..3f7308d 100644 --- a/src/app/system-management/organization/organization.component.ts +++ b/src/app/system-management/organization/organization.component.ts @@ -51,6 +51,9 @@ export class OrganizationComponent implements OnInit { }).subscribe((data: any) => { this.totalCount = data.result.totalCount data.result.items.forEach(element => { + if (element.id == OrganizationUnitId) { + element.parentId = null + } element.key = element.id element.title = element.displayName element.selectable = false