no message
This commit is contained in:
parent
81a9a019c3
commit
d1f8c6fc14
1 changed files with 3 additions and 3 deletions
|
|
@ -4531,7 +4531,7 @@ export class ProfileController extends Controller {
|
|||
posMasterId: posMaster?.id,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
const _profile: any = {
|
||||
profileId: profile.id,
|
||||
prefix: profile.prefix,
|
||||
|
|
@ -4679,7 +4679,7 @@ export class ProfileController extends Controller {
|
|||
prefix: profile.prefix,
|
||||
rank: profile.rank,
|
||||
avatar: profile.avatar,
|
||||
isDirector: profile.current_holders[0].isDirector ?? null,
|
||||
isDirector: posMaster?.isDirector || false,
|
||||
isProbation: profile.isProbation,
|
||||
avatarName: profile.avatarName,
|
||||
firstName: profile.firstName,
|
||||
|
|
@ -7059,7 +7059,7 @@ export class ProfileController extends Controller {
|
|||
lastName: profile.lastName,
|
||||
citizenId: profile.citizenId,
|
||||
position: profile.position,
|
||||
isDirector : posMaster?.isDirector??null,
|
||||
isDirector: posMaster?.isDirector ?? null,
|
||||
isProbation: profile.isProbation,
|
||||
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
|
||||
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue