no message
This commit is contained in:
parent
552c3ea1fe
commit
b14d2d4a46
1 changed files with 2 additions and 2 deletions
|
|
@ -3429,10 +3429,10 @@ export class ProfileController extends Controller {
|
|||
},
|
||||
relations: ["orgChild1"],
|
||||
});
|
||||
if (!posMasters) {
|
||||
if (posMasters == null || posMasters.orgRoot == null) {
|
||||
return new HttpSuccess(false);
|
||||
}
|
||||
return new HttpSuccess(posMasters.orgChild1.isOfficer);
|
||||
return new HttpSuccess(posMasters);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue