From 9e590dff29f1dcc87c90c28cb9b0aa03ae5886d2 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Fri, 12 Jun 2026 01:13:13 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20guardian=20tab=20stuck=20on=20loading=20?= =?UTF-8?q?=E2=80=94=20const=20ts=20shadowed=20ts()=20function=20causing?= =?UTF-8?q?=20ReferenceError?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public_html/admin/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/admin/index.php b/public_html/admin/index.php index 33e36d5..efa6888 100644 --- a/public_html/admin/index.php +++ b/public_html/admin/index.php @@ -3281,7 +3281,7 @@ async function loadGuardian() { const color = _SEV_COLOR[sev] || 'var(--text)'; const icon = _EV_ICON[ev.event_type] || '◈'; const acked = ev.acknowledged; - const ts = ts(ev.created_at); + const evTs = ts(ev.created_at); return ` ${_SEV_ICON[sev]||'◈'} ${sev.toUpperCase()} @@ -3292,7 +3292,7 @@ async function loadGuardian() {
${icon} ${esc(ev.message||'')}
${ev.ai_analysis ? `
${esc(ev.ai_analysis.substring(0,200))}
` : ''} - ${ts} + ${evTs} ${!acked ? `` : 'ACKED'}