0
0
Fork 0

Add missing worker descriptor

This commit is contained in:
Kevin Martinez 2024-02-06 08:16:10 -03:00
parent 1665dbf400
commit 7e45486abd
1 changed files with 9 additions and 4 deletions

View File

@ -6,6 +6,7 @@ import { useStateStore } from 'stores/useStateStore';
import CardSummary from 'components/ui/CardSummary.vue'; import CardSummary from 'components/ui/CardSummary.vue';
import VnLv from 'components/ui/VnLv.vue'; import VnLv from 'components/ui/VnLv.vue';
import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue'; import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue';
import VnUserLink from "components/ui/VnUserLink.vue";
const $props = defineProps({ const $props = defineProps({
id: { id: {
@ -85,10 +86,14 @@ const filter = {
:label="t('shelving.summary.priority')" :label="t('shelving.summary.priority')"
:value="entity.priority" :value="entity.priority"
/> />
<VnLv <VnLv v-if="entity.worker" :label="t('shelving.summary.worker')">
:label="t('shelving.summary.worker')" <template #value>
:value="entity.worker?.user?.nickname" <VnUserLink
/> :name="entity.worker?.user?.nickname"
:worker-id="entity.worker?.id"
/>
</template>
</VnLv>
<VnLv <VnLv
:label="t('shelving.summary.recyclable')" :label="t('shelving.summary.recyclable')"
:value="entity.isRecyclable" :value="entity.isRecyclable"