This commit is contained in:
AdisakKanthawilang 2024-11-14 11:41:58 +07:00
parent b2126debc0
commit 0dc12fdfe7

View file

@ -4531,12 +4531,13 @@ export class ProfileController extends Controller {
posMasterId: posMaster?.id,
},
});
const _profile: any = {
profileId: profile.id,
prefix: profile.prefix,
rank: profile.rank,
avatar: profile.avatar,
isDirector: profile.current_holders[0]?.isDirector ?? null,
isProbation: profile.isProbation,
avatarName: profile.avatarName,
firstName: profile.firstName,
@ -4678,6 +4679,7 @@ export class ProfileController extends Controller {
prefix: profile.prefix,
rank: profile.rank,
avatar: profile.avatar,
isDirector: profile.current_holders[0].isDirector ?? null,
isProbation: profile.isProbation,
avatarName: profile.avatarName,
firstName: profile.firstName,