From aba08e36c7517fc2c9ca76924e455fff08dd1a45 Mon Sep 17 00:00:00 2001 From: c4ch3c4d3 Date: Sat, 22 Aug 2026 15:03:15 -0600 Subject: [PATCH] fix(ui): guard chip shows pending count, not raw list --- payload/user/remote_access/pager-webui/www/js/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payload/user/remote_access/pager-webui/www/js/views.js b/payload/user/remote_access/pager-webui/www/js/views.js index 4eab10b..f16443b 100644 --- a/payload/user/remote_access/pager-webui/www/js/views.js +++ b/payload/user/remote_access/pager-webui/www/js/views.js @@ -289,7 +289,7 @@ views.dashboard = (root) => { guardChip.textContent = 'GUARD IN SYNC'; } else { guardChip.className = 'health-chip warn'; - guardChip.textContent = 'GUARD PENDING' + (g.pending != null ? ' · ' + g.pending : ''); + guardChip.textContent = 'GUARD PENDING' + (g.pending && g.pending.length ? ' · ' + g.pending.length : ''); } renderEvents(h2.events); }).catch(() => {});