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,
|
posMasterId: posMaster?.id,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const _profile: any = {
|
const _profile: any = {
|
||||||
profileId: profile.id,
|
profileId: profile.id,
|
||||||
prefix: profile.prefix,
|
prefix: profile.prefix,
|
||||||
|
|
@ -4679,7 +4679,7 @@ export class ProfileController extends Controller {
|
||||||
prefix: profile.prefix,
|
prefix: profile.prefix,
|
||||||
rank: profile.rank,
|
rank: profile.rank,
|
||||||
avatar: profile.avatar,
|
avatar: profile.avatar,
|
||||||
isDirector: profile.current_holders[0].isDirector ?? null,
|
isDirector: posMaster?.isDirector || false,
|
||||||
isProbation: profile.isProbation,
|
isProbation: profile.isProbation,
|
||||||
avatarName: profile.avatarName,
|
avatarName: profile.avatarName,
|
||||||
firstName: profile.firstName,
|
firstName: profile.firstName,
|
||||||
|
|
@ -7059,7 +7059,7 @@ export class ProfileController extends Controller {
|
||||||
lastName: profile.lastName,
|
lastName: profile.lastName,
|
||||||
citizenId: profile.citizenId,
|
citizenId: profile.citizenId,
|
||||||
position: profile.position,
|
position: profile.position,
|
||||||
isDirector : posMaster?.isDirector??null,
|
isDirector: posMaster?.isDirector ?? null,
|
||||||
isProbation: profile.isProbation,
|
isProbation: profile.isProbation,
|
||||||
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
|
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
|
||||||
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
|
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue