Merge branch 'develop' into adiDev
This commit is contained in:
commit
458fb90187
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 });
|
if (!profileOfficer) return new HttpSuccess({ isOfficer: false, isStaff: false });
|
||||||
let isOfficer = profileOfficer.orgChild1 == null ? false : profileOfficer.orgChild1.isOfficer;
|
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