update
This commit is contained in:
parent
69a2cfcddd
commit
87619410af
3 changed files with 37 additions and 0 deletions
|
|
@ -9954,6 +9954,35 @@ export class ProfileController extends Controller {
|
|||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.posExecutive
|
||||
.posExecutiveName;
|
||||
|
||||
const positionExecutiveField =
|
||||
position == null ||
|
||||
item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionExecutiveField ==
|
||||
null ||
|
||||
item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionExecutiveField == null
|
||||
? null
|
||||
: item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionExecutiveField;
|
||||
|
||||
const positionArea =
|
||||
position == null ||
|
||||
item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionArea ==
|
||||
null ||
|
||||
item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionArea == null
|
||||
? null
|
||||
: item.current_holders
|
||||
.find((x) => x.orgRevisionId == findRevision.id)
|
||||
?.positions?.find((position) => position.positionIsSelected == true)?.positionArea;
|
||||
|
||||
const posExecutiveId =
|
||||
position == null || position.posExecutive == null ? null : position.posExecutive.id;
|
||||
|
||||
|
|
@ -10071,6 +10100,8 @@ export class ProfileController extends Controller {
|
|||
position: item.position,
|
||||
posExecutiveId: posExecutiveId,
|
||||
posExecutiveName: posExecutive,
|
||||
positionExecutiveField: positionExecutiveField,
|
||||
positionArea: positionArea,
|
||||
node: node,
|
||||
nodeId: nodeId,
|
||||
nodeShortName: nodeShortName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue