refactor: update ItemDescriptor to use dynamic labels for values #1505
|
@ -122,22 +122,9 @@ const updateStock = async () => {
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
<VnLv :label="t('globals.producer')" :value="dashIfEmpty(entity.subName)" />
|
<VnLv :label="t('globals.producer')" :value="dashIfEmpty(entity.subName)" />
|
||||||
<VnLv
|
<VnLv v-if="entity?.value5" :label="entity?.tag5" :value="entity.value5" />
|
||||||
v-if="entity.value5"
|
<VnLv v-if="entity?.value6" :label="entity?.tag6" :value="entity.value6" />
|
||||||
:label="t('item.descriptor.color')"
|
<VnLv v-if="entity?.value7" :label="entity?.tag7" :value="entity.value7" />
|
||||||
:value="entity.value5"
|
|
||||||
>
|
|
||||||
</VnLv>
|
|
||||||
<VnLv
|
|
||||||
v-if="entity.value6"
|
|
||||||
:label="t('item.descriptor.category')"
|
|
||||||
:value="entity.value6"
|
|
||||||
/>
|
|
||||||
<VnLv
|
|
||||||
v-if="entity.value7"
|
|
||||||
:label="t('item.list.stems')"
|
|
||||||
:value="entity.value7"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
<template #icons="{ entity }">
|
<template #icons="{ entity }">
|
||||||
<QCardActions v-if="entity" class="q-gutter-x-md">
|
<QCardActions v-if="entity" class="q-gutter-x-md">
|
||||||
|
|
Loading…
Reference in New Issue