add director
This commit is contained in:
parent
9e65b57fdf
commit
24038b9597
1 changed files with 5 additions and 1 deletions
|
|
@ -883,7 +883,11 @@ export class WorkflowController extends Controller {
|
|||
});
|
||||
if (!profileOfficer) return new HttpSuccess({ isOfficer: false, isStaff: false });
|
||||
let isOfficer = profileOfficer.orgChild1 == null ? false : profileOfficer.orgChild1.isOfficer;
|
||||
return new HttpSuccess({ isOfficer: isOfficer, isStaff: !isOfficer });
|
||||
return new HttpSuccess({
|
||||
isOfficer: isOfficer,
|
||||
isStaff: !isOfficer,
|
||||
isDirector: profileOfficer.isDirector,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue