0
0
Fork 0

Fix genus and specie value

This commit is contained in:
William Buezas 2024-04-12 10:44:56 -03:00
parent 92429295cd
commit 5f46ad225e
1 changed files with 3 additions and 6 deletions

View File

@ -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">