FIX: Plantilla modal eliminar
This commit is contained in:
parent
02c9ce2338
commit
68f30702f9
@ -18,7 +18,7 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
|
|
||||||
/** Métodos */
|
/** Métodos */
|
||||||
const destroy = (id) => api.delete(props.apiTo(id), {
|
const destroy = (id) => api.delete(props.to(id), {
|
||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
Notify.success(Lang('deleted'));
|
Notify.success(Lang('deleted'));
|
||||||
emit('close');
|
emit('close');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user