fix(ui): guard chip shows pending count, not raw list
This commit is contained in:
1 parent
4c1144ab32
commit
aba08e36c7
1 file changed
+1
-1
@@ -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