Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
kittapath 2024-11-14 11:52:03 +07:00
commit bc6e43a700

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,