fix(ui): guard chip shows pending count, not raw list
This commit is contained in:
@@ -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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user