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

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(() => { .catch(() => {
profilePicture.value = avatar; profilePicture.value = avatar;
}) });
// .finally(() => { // .finally(() => {
// hideLoader(); // hideLoader();
// }); // });
} }
const reasonStatus = ref<boolean>(false); const reasonStatus = ref<boolean>(false);
@ -788,9 +788,11 @@ onMounted(async () => {
" "
> >
{{ {{
`${formDetail?.prefix ? formDetail?.prefix : ""}${ `${
formDetail?.firstName formDetail.rank
} ${formDetail?.lastName} ${leaveReason}` ? formDetail.rank
: formDetail.prefix ?? ""
} ${formDetail.firstName} ${formDetail.lastName}`
}} }}
</h2> </h2>
</div> </div>