fix bug บรรจุ

This commit is contained in:
Warunee Tamkoo 2024-05-16 10:58:18 +07:00
parent 322106631a
commit 4a8a3baaed
5 changed files with 61 additions and 48 deletions

View file

@ -36,7 +36,9 @@ const modalPersonal = ref<boolean>(false);
const profileId = ref<string | null>("");
function fetchDataProfile(data: DataProfile) {
fetchProfile(data.profileId);
if (data.profileId) {
fetchProfile(data.profileId);
}
profile.id = data.profileId;
profile.fullName = `${data.prefix}${data.firstName} ${data.lastName}`;
profile.position =