diff --git a/frontend/src/lib/components/dashboard/clients_and_providers/data-table-actions.svelte b/frontend/src/lib/components/dashboard/clients_and_providers/data-table-actions.svelte index 980c6749..03550b05 100644 --- a/frontend/src/lib/components/dashboard/clients_and_providers/data-table-actions.svelte +++ b/frontend/src/lib/components/dashboard/clients_and_providers/data-table-actions.svelte @@ -3,12 +3,11 @@ import { Button } from "$lib/components/ui/button/index.js"; import * as DropdownMenu from "$lib/components/ui/dropdown-menu/index.js"; import type { ClientProvider } from "./columns.js"; - // import CreateEditDialog from "./create-edit-dialog.svelte"; // <-- Ya no lo necesitas aquí import DetailsDialog from "./details-dialog.svelte"; import DeleteDialog from "./delete-dialog.svelte"; import { clientsProvidersApi } from "$lib/api/dashboard/a76/clients-providers"; import { companyStore } from "$lib/stores/company.svelte"; - import { goto } from "$app/navigation"; // <-- Importación importante + import { goto } from "$app/navigation"; let { item, @@ -19,7 +18,6 @@ } = $props(); let showDetailsDialog = $state(false); - // let showEditDialog = $state(false); // <-- Eliminado let showDeleteDialog = $state(false); let isToggling = $state(false); @@ -35,8 +33,6 @@ showDetailsDialog = true; } - // function handleEdit() { showEditDialog = true; } // <-- Eliminado - function handleDelete() { showDeleteDialog = true; }