diff --git a/frontend/panel.html b/frontend/panel.html index c73703b..012afef 100644 --- a/frontend/panel.html +++ b/frontend/panel.html @@ -208,7 +208,6 @@ function VistaBecarios({ onOpen, onError }) { try { await apiFetch(`/becarios/${b.id}/aprobar`, { method: "POST" }); await load(); } catch (e) { onError(e.message); } }; const pendientes = (becarios || []).filter((b) => b.estado === "pendiente"); - const nuevoBtn = (size) => setForm({})}>{iconBtn("plus", { size: 16, color: "#fff", sw: 2.2 })}Nuevo becario; // Buscador local sobre la lista ya cargada (nombre, celular, matrícula, institución). const term = q.trim().toLowerCase(); const filtrados = term @@ -218,12 +217,11 @@ function VistaBecarios({ onOpen, onError }) { return (
-
+

Becarios

- {nuevoBtn()}
{becarios === null ?

Cargando…

: - becarios.length === 0 ? : + becarios.length === 0 ? :
setQ(e.target.value)} placeholder="Buscar por nombre, celular, matrícula o institución…" style={{ paddingRight: "34px" }} />