diff --git a/resources/views/notif_config.html b/resources/views/notif_config.html
index b491e65..6fe2795 100644
--- a/resources/views/notif_config.html
+++ b/resources/views/notif_config.html
@@ -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 => {