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 } }">
|
<template #header="{ entity: { item } }">
|
||||||
{{ item.id }} - {{ item.name }}
|
{{ item.id }} - {{ item.name }}
|
||||||
</template>
|
</template>
|
||||||
<template #body="{ entity: { item, tags, visible, available } }">
|
<template #body="{ entity: { item, tags, visible, available, botanical } }">
|
||||||
<QCard class="vn-one photo">
|
<QCard class="vn-one photo">
|
||||||
<ItemDescriptorImage
|
<ItemDescriptorImage
|
||||||
:entity-id="entityId"
|
:entity-id="entityId"
|
||||||
|
@ -198,13 +198,10 @@ const isAdministrative = computed(() => {
|
||||||
{{ t('item.summary.botanical') }}
|
{{ t('item.summary.botanical') }}
|
||||||
<QIcon v-if="isBuyer" name="open_in_new" />
|
<QIcon v-if="isBuyer" name="open_in_new" />
|
||||||
</component>
|
</component>
|
||||||
<VnLv
|
<VnLv :label="t('item.summary.genus')" :value="botanical?.genus?.name" />
|
||||||
:label="t('item.summary.genus')"
|
|
||||||
:value="item.botanical?.genus?.name"
|
|
||||||
/>
|
|
||||||
<VnLv
|
<VnLv
|
||||||
:label="t('item.summary.specie')"
|
:label="t('item.summary.specie')"
|
||||||
:value="item.botanical?.specie?.name"
|
:value="botanical?.specie?.name"
|
||||||
/>
|
/>
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
|
|
Loading…
Reference in New Issue