diff --git a/frontend/src/lib/api/dashboard/a76/customs-brokers.ts b/frontend/src/lib/api/dashboard/a76/customs-brokers.ts index 4fe32672..981ef884 100644 --- a/frontend/src/lib/api/dashboard/a76/customs-brokers.ts +++ b/frontend/src/lib/api/dashboard/a76/customs-brokers.ts @@ -117,7 +117,7 @@ export const customsBrokersApi = { * Elimina un agente aduanal */ delete: (brokerKey: string, companyId: string) => { - return api.delete(`/v1/a76/customs-brokers/${brokerKey}/?company_id=${companyId}`); + return api.delete(`/v1/a76/customs-brokers/${brokerKey}?company_id=${companyId}`); }, diff --git a/frontend/src/lib/components/dashboard/customs_brokers/data-table.svelte b/frontend/src/lib/components/dashboard/customs_brokers/data-table.svelte index ca2d16aa..abbbbaac 100644 --- a/frontend/src/lib/components/dashboard/customs_brokers/data-table.svelte +++ b/frontend/src/lib/components/dashboard/customs_brokers/data-table.svelte @@ -1,18 +1,17 @@
@@ -264,45 +267,13 @@
- - - - - - - - - - - {#if isLoading} - - {:else if paginatedItems.length === 0} - - {:else} - {#each paginatedItems as item (item.broker_key)} - selectItem(item)} - > - - - - - - {/each} - {/if} - -
PatenteNombreLicenciaCiudad
Cargando...
No se encontraron registros
{item.broker_key}{item.name || '-'}{item.license || '-'}{item.city || '-'}
+
{#if totalItems > pageSize} @@ -434,7 +405,7 @@ - + +