eliminado un wip

This commit is contained in:
2025-04-25 13:46:40 -03:00
parent c5a0eb70b8
commit 36b8f03421
2 changed files with 7 additions and 5 deletions

View File

@@ -87,7 +87,6 @@
}
async function bajaCliente(event: Event, cli: Cliente) {
//WIP añadir una flag para que muestre que no se pudo dar se alta/baja
event.stopPropagation();
try {
const response = await fetch(
@@ -99,13 +98,14 @@
},
},
);
let data = await response.json();
modaldata = data.message;
if (response.ok) {
let data = await response.json();
modaldata = data.message;
cli.habilitado = !cli.habilitado;
cargaUsuarios();
}
} catch {
modaldata = "";
modaldata = "Fallo al hacer la request";
}
}
async function añadirGrupo(e: Event, cli: Cliente, grupo: string) {