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