fix(ClaimSummary): fix description slot
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-05-05 10:28:19 +02:00
parent 645f0381f6
commit f176221839
1 changed files with 12 additions and 11 deletions

View File

@ -346,17 +346,18 @@ function claimUrl(section) {
<template #body="props"> <template #body="props">
<QTr :props="props"> <QTr :props="props">
<QTd v-for="col in props.cols" :key="col.name" :props="props"> <QTd v-for="col in props.cols" :key="col.name" :props="props">
<span v-if="col.name != 'description'">{{ <template v-if="col.name === 'description'">
t(col.value) <span class="link">{{
}}</span> dashIfEmpty(col.field(props.row))
<span class="link" v-if="col.name === 'description'">{{ }}</span>
t(col.value) <ItemDescriptorProxy
}}</span> :id="props.row.sale.itemFk"
<ItemDescriptorProxy :sale-fk="props.row.saleFk"
v-if="col.name == 'description'" />
:id="props.row.sale.itemFk" </template>
:sale-fk="props.row.saleFk" <template v-else>
></ItemDescriptorProxy> {{ dashIfEmpty(col.field(props.row)) }}
</template>
</QTd> </QTd>
</QTr> </QTr>
</template> </template>