refactor: improve responsible person display in TableRequestList component
This commit is contained in:
parent
5c5e9fac63
commit
f409e31cc0
1 changed files with 3 additions and 1 deletions
|
|
@ -265,11 +265,12 @@ function getEmployeeName(
|
|||
@cancel="$emit('delete', props.row)"
|
||||
>
|
||||
<template v-slot:responsiblePerson="{ props: subProps }">
|
||||
<div class="col-4 app-text-muted q-pr-sm self-center">
|
||||
<div class="col-4 app-text-muted q-pr-sm">
|
||||
{{ subProps.label }}
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<AvatarGroup
|
||||
v-if="(responsiblePerson(props.row.quotation) ?? []).length > 0"
|
||||
:data="
|
||||
responsiblePerson(props.row.quotation)?.map((v) => {
|
||||
return {
|
||||
|
|
@ -286,6 +287,7 @@ function getEmployeeName(
|
|||
})
|
||||
"
|
||||
/>
|
||||
<span v-else>-</span>
|
||||
</div>
|
||||
</template>
|
||||
</QuotationCard>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue