forked from verdnatura/salix-front
Add missing worker descriptor
This commit is contained in:
parent
1665dbf400
commit
7e45486abd
|
@ -6,6 +6,7 @@ import { useStateStore } from 'stores/useStateStore';
|
|||
import CardSummary from 'components/ui/CardSummary.vue';
|
||||
import VnLv from 'components/ui/VnLv.vue';
|
||||
import ShelvingFilter from 'pages/Shelving/Card/ShelvingFilter.vue';
|
||||
import VnUserLink from "components/ui/VnUserLink.vue";
|
||||
|
||||
const $props = defineProps({
|
||||
id: {
|
||||
|
@ -85,10 +86,14 @@ const filter = {
|
|||
:label="t('shelving.summary.priority')"
|
||||
:value="entity.priority"
|
||||
/>
|
||||
<VnLv
|
||||
:label="t('shelving.summary.worker')"
|
||||
:value="entity.worker?.user?.nickname"
|
||||
/>
|
||||
<VnLv v-if="entity.worker" :label="t('shelving.summary.worker')">
|
||||
<template #value>
|
||||
<VnUserLink
|
||||
:name="entity.worker?.user?.nickname"
|
||||
:worker-id="entity.worker?.id"
|
||||
/>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv
|
||||
:label="t('shelving.summary.recyclable')"
|
||||
:value="entity.isRecyclable"
|
||||
|
|
Loading…
Reference in New Issue