arreglar plural cadena

This commit is contained in:
Cat /dev/Nulo 2024-09-15 12:44:24 -03:00
parent 4db1f0b09e
commit 1329aa06c7

View file

@ -44,7 +44,10 @@
<Card.Root class="transition-colors duration-200 hover:bg-gray-100"> <Card.Root class="transition-colors duration-200 hover:bg-gray-100">
<Card.Header class="block px-3 py-2 pb-0"> <Card.Header class="block px-3 py-2 pb-0">
<Badge>{parseMarcas(Array.from(producto.marcas)).join('/')}</Badge> <Badge>{parseMarcas(Array.from(producto.marcas)).join('/')}</Badge>
<Badge variant="outline">en {producto.in_datasets_count} cadenas</Badge> <Badge variant="outline"
>en
{producto.in_datasets_count} cadena{#if producto.in_datasets_count > 1}s{/if}
</Badge>
<Badge variant="outline">EAN {producto.id_producto}</Badge> <Badge variant="outline">EAN {producto.id_producto}</Badge>
</Card.Header> </Card.Header>
<Card.Content class="px-3 py-2"> <Card.Content class="px-3 py-2">