แก้คำนำหน้าชื่อ

This commit is contained in:
STW_TTTY\stwtt 2024-08-30 09:54:48 +07:00
parent 0a72c3625b
commit 7810f505bb

View file

@ -207,10 +207,10 @@ function fetchProfile(id: string) {
})
.catch(() => {
profilePicture.value = avatar;
})
// .finally(() => {
// hideLoader();
// });
});
// .finally(() => {
// hideLoader();
// });
}
const reasonStatus = ref<boolean>(false);
@ -788,9 +788,11 @@ onMounted(async () => {
"
>
{{
`${formDetail?.prefix ? formDetail?.prefix : ""}${
formDetail?.firstName
} ${formDetail?.lastName} ${leaveReason}`
`${
formDetail.rank
? formDetail.rank
: formDetail.prefix ?? ""
} ${formDetail.firstName} ${formDetail.lastName}`
}}
</h2>
</div>