sessions: fix Show All Sessions filter out of sync with view on reload (#306435)
* sessions: fix Show All Sessions filter out of sync with view on reload The IsWorkspaceGroupCappedContext context key was never initialized from persisted storage on reload, causing the menu checkmark to always show as checked (default true) regardless of the stored value. Fix by binding the context key in the constructor and syncing it with the persisted SessionsList state in renderBody. Also fix the Reset action which was resetting the internal state but not the context key. Co-authored-by: Copilot <[email protected]> * use sessionsControl as source of truth for reset context key Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
S
Sandeep Somavarapu committed
39a50d8d3f4cb82f8d23f6ed762d8feda0a8032f
Parent: 2924b6c
Committed by GitHub <[email protected]>
on 3/30/2026, 8:30:46 PM