no message
This commit is contained in:
parent
376ab804db
commit
9dca259981
1 changed files with 15 additions and 16 deletions
|
|
@ -625,7 +625,6 @@ export class OrganizationController extends Controller {
|
||||||
) {
|
) {
|
||||||
await new permission().PermissionList(request, "SYS_ORG");
|
await new permission().PermissionList(request, "SYS_ORG");
|
||||||
}
|
}
|
||||||
if (_data.root != null) {
|
|
||||||
if (orgRevision.orgRevisionIsDraft == true && orgRevision.orgRevisionIsCurrent == false) {
|
if (orgRevision.orgRevisionIsDraft == true && orgRevision.orgRevisionIsCurrent == false) {
|
||||||
const profile = await this.profileRepo.findOne({
|
const profile = await this.profileRepo.findOne({
|
||||||
where: { keycloak: request.user.sub },
|
where: { keycloak: request.user.sub },
|
||||||
|
|
@ -641,7 +640,7 @@ export class OrganizationController extends Controller {
|
||||||
child3: null,
|
child3: null,
|
||||||
child4: null,
|
child4: null,
|
||||||
};
|
};
|
||||||
}
|
console.log(_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
const orgRootData = await AppDataSource.getRepository(OrgRoot)
|
const orgRootData = await AppDataSource.getRepository(OrgRoot)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue