FIX: Plantilla modal eliminar

This commit is contained in:
Moisés de Jesús Cortés Castellanos 2024-12-19 16:47:14 -06:00
parent 02c9ce2338
commit 68f30702f9

View File

@ -18,7 +18,7 @@ const props = defineProps({
});
/** Métodos */
const destroy = (id) => api.delete(props.apiTo(id), {
const destroy = (id) => api.delete(props.to(id), {
onSuccess: () => {
Notify.success(Lang('deleted'));
emit('close');