forked from verdnatura/salix-front
Fix genus and specie value
This commit is contained in:
parent
92429295cd
commit
5f46ad225e
|
@ -55,7 +55,7 @@ const isAdministrative = computed(() => {
|
|||
<template #header="{ entity: { item } }">
|
||||
{{ item.id }} - {{ item.name }}
|
||||
</template>
|
||||
<template #body="{ entity: { item, tags, visible, available } }">
|
||||
<template #body="{ entity: { item, tags, visible, available, botanical } }">
|
||||
<QCard class="vn-one photo">
|
||||
<ItemDescriptorImage
|
||||
:entity-id="entityId"
|
||||
|
@ -198,13 +198,10 @@ const isAdministrative = computed(() => {
|
|||
{{ t('item.summary.botanical') }}
|
||||
<QIcon v-if="isBuyer" name="open_in_new" />
|
||||
</component>
|
||||
<VnLv
|
||||
:label="t('item.summary.genus')"
|
||||
:value="item.botanical?.genus?.name"
|
||||
/>
|
||||
<VnLv :label="t('item.summary.genus')" :value="botanical?.genus?.name" />
|
||||
<VnLv
|
||||
:label="t('item.summary.specie')"
|
||||
:value="item.botanical?.specie?.name"
|
||||
:value="botanical?.specie?.name"
|
||||
/>
|
||||
</QCard>
|
||||
<QCard class="vn-one">
|
||||
|
|
Loading…
Reference in New Issue