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 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"
|
||||||
|
|
Loading…
Reference in New Issue