#58 feat: mostrar categorías creadas y actualizadas al sincronizar productos

This commit is contained in:
2026-08-22 16:40:48 -05:00
parent e81dbb8154
commit 02697f09e1
3 changed files with 372 additions and 848 deletions

View File

@@ -116,6 +116,39 @@
</v-card>
</v-col>
<v-col cols="12" md="6">
<v-card elevation="2">
<v-card-title class="bg-indigo text-white">🏷 Categorías creadas ({{ result.created_categories?.length || 0 }})</v-card-title>
<v-card-text>
<v-data-table
:items="formatResults(result.created_categories)"
density="compact"
:headers="[
{ title: 'ID', key: 'id' },
{ title: 'Nombre', key: 'name' }
]"
></v-data-table>
</v-card-text>
</v-card>
</v-col>
<v-col cols="12" md="6">
<v-card elevation="2">
<v-card-title class="bg-deep-purple text-white"> Categorías actualizadas ({{ result.updated_categories?.length || 0 }})</v-card-title>
<v-card-text>
<v-data-table
:items="formatResults(result.updated_categories)"
density="compact"
:headers="[
{ title: 'ID', key: 'id' },
{ title: 'Nombre', key: 'name' },
{ title: 'Detalle', key: 'detail' }
]"
></v-data-table>
</v-card-text>
</v-card>
</v-col>
<v-col cols="12" class="text-center mt-4">
<v-btn color="primary" @click="$router.push('/')">
Volver al inicio