From ec88df75be4843a454f2682a7dabfecd8e774db1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 14 Feb 2025 16:37:03 -0600 Subject: [PATCH] No logs of periodo --- js/auditoría.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/auditoría.js b/js/auditoría.js index 42d0201..81ffcd6 100644 --- a/js/auditoría.js +++ b/js/auditoría.js @@ -140,6 +140,7 @@ const store = reactive({ }, body: JSON.stringify(store.current.justificada) }); + data = await res.json(); } catch (error) { @@ -206,7 +207,7 @@ const store = reactive({ if (fecha_fin) params['fecha_fin'] = fecha_fin; params['periodo_id'] = store.filters.todos_los_periodos ? 0 : store.periodo.periodo_id; - console.log(store.periodo); + // console.log(store.periodo); const paramsUrl = new URLSearchParams(params).toString(); try { const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {