no message
This commit is contained in:
parent
56630602dc
commit
2f378fa4a1
1 changed files with 2 additions and 2 deletions
|
|
@ -3615,7 +3615,7 @@ export class ProfileController extends Controller {
|
|||
},
|
||||
relations: ["orgChild1"],
|
||||
});
|
||||
if (posMasters == null || posMasters.orgChild1 == null) {
|
||||
if (posMasters == null) {
|
||||
return new HttpSuccess({
|
||||
isOfficer: null,
|
||||
rootId: null,
|
||||
|
|
@ -3626,7 +3626,7 @@ export class ProfileController extends Controller {
|
|||
});
|
||||
}
|
||||
return new HttpSuccess({
|
||||
isOfficer: posMasters?.orgChild1?.isOfficer || null,
|
||||
isOfficer: posMasters?.orgChild1?.isOfficer || false,
|
||||
rootId: posMasters?.orgRootId || null,
|
||||
child1Id: posMasters?.orgChild1Id || null,
|
||||
child2Id: posMasters?.orgChild2Id || null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue