add profileType
This commit is contained in:
parent
98141ecb40
commit
bb4eda5a6d
1 changed files with 4 additions and 2 deletions
|
|
@ -5094,7 +5094,8 @@ export class ProfileController extends Controller {
|
|||
prefix: profile.prefix,
|
||||
rank: profile.rank,
|
||||
avatar: profile.avatar,
|
||||
isDirector: profile.current_holders[0]?.isDirector ?? null,
|
||||
profileType: "EMPLOYEE",
|
||||
isDirector: posMaster?.isDirector || false,
|
||||
isProbation: profile.isProbation,
|
||||
avatarName: profile.avatarName,
|
||||
firstName: profile.firstName,
|
||||
|
|
@ -5239,6 +5240,7 @@ export class ProfileController extends Controller {
|
|||
prefix: profile.prefix,
|
||||
rank: profile.rank,
|
||||
avatar: profile.avatar,
|
||||
profileType: "OFFICER",
|
||||
isDirector: posMaster?.isDirector || false,
|
||||
isProbation: profile.isProbation,
|
||||
avatarName: profile.avatarName,
|
||||
|
|
@ -6235,7 +6237,7 @@ export class ProfileController extends Controller {
|
|||
profile && profile.profileEducations.length > 0
|
||||
? `${profile.profileEducations[0].degree ?? ""} ${profile.profileEducations[0].field ?? ""}`
|
||||
: "",
|
||||
dateAppoint: profile.dateAppoint
|
||||
dateAppoint: profile.dateAppoint,
|
||||
};
|
||||
|
||||
if (_profile.child4Id != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue