diff --git a/src/components/CardProfile.vue b/src/components/CardProfile.vue index fc810626d..d6b9fe4cf 100644 --- a/src/components/CardProfile.vue +++ b/src/components/CardProfile.vue @@ -39,6 +39,8 @@ const profileId = ref(""); async function fetchDataProfile(data: DataProfile) { if (data.profileId) { fetchCheckAvatar(data.profileId); + } else { + profile.avatar = data?.avatar ? data.avatar : ""; } profile.id = data.profileId; profile.fullName = `${data.prefix ?? ""}${data.firstName ?? ""} ${ diff --git a/src/modules/05_placement/interface/index/Main.ts b/src/modules/05_placement/interface/index/Main.ts index 74ab35f68..df580772e 100644 --- a/src/modules/05_placement/interface/index/Main.ts +++ b/src/modules/05_placement/interface/index/Main.ts @@ -224,6 +224,7 @@ interface Assign { } interface DataProfile { + avatar?: string; child1: string | null; child1ShortName: string | null; child2: string | null;