fix(sidebar): count inactive rows through the render path

This commit is contained in:
Rod Boev
2026-06-12 12:03:04 -04:00
parent 0ed902bd05
commit 6a1109475b
2 changed files with 3 additions and 3 deletions

View File

@@ -4774,8 +4774,8 @@ function _renderSidebarRowsFromRawSessions(sessionsRaw){
}
function _countRenderedSidebarRowsFromRawSessions(sessionsRaw){
// Child attachment does not change the top-level row count shown in the chip label.
return _collapseSessionLineageForSidebar(sessionsRaw).length;
// Keep inactive-tab chip counts on the exact same top-level row path as render.
return _renderSidebarRowsFromRawSessions(sessionsRaw).length;
}
function renderSessionListFromCache(){