ดาวโหลดไฟล์

This commit is contained in:
setthawutttty 2025-04-04 17:55:13 +07:00
parent 39b14d7026
commit 6bf655220a
2 changed files with 27 additions and 3 deletions

View file

@ -184,7 +184,9 @@ async function fetchProfileGov(id: string) {
function redirecToRegistry() {
router.push(
`/registry-${props.type.toLocaleLowerCase() == "employee" ? "employee" : "officer"}/${props.id}`
`/registry-${
props.type.toLocaleLowerCase() == "employee" ? "employee" : "officer"
}/${props.id}`
);
modal.value = false;
}
@ -499,7 +501,9 @@ async function fetchProfile(id: string, avatarName: string) {
<q-card
bordered
style="border: 1px solid #d6dee1"
v-if="checkRoute && props.type.toLocaleLowerCase() === 'officer'"
v-if="
checkRoute && props.type.toLocaleLowerCase() === 'officer'
"
>
<CardPosition :id="props.id" :type="props.type" />
</q-card>