This commit is contained in:
Lizandro Guarnizo
2026-05-15 22:27:07 -05:00
parent 084f6e3930
commit a0754c0c92
+5 -3
View File
@@ -125,9 +125,11 @@ function notifConfig() {
} catch {}
// Cargar configuración existente
const r = await axios.get('/app/notif-config/data');
const existing = {};
(r.data || []).forEach(cfg => { existing[`${cfg.evento}__${cfg.destinatario}`] = cfg; });
let existing = {};
try {
const r = await axios.get('/app/notif-config/data');
(r.data || []).forEach(cfg => { existing[`${cfg.evento}__${cfg.destinatario}`] = cfg; });
} catch {}
// Construir filas combinando EVENTOS con config guardada
this.rows = EVENTOS.map(ev => {