fix(web): keep session sidebar stable after selection (#1173)

This commit is contained in:
SSU-WEI HUANG
2026-07-26 15:02:52 +08:00
committed by GitHub
parent bd5e87898a
commit c305c5ce31
3 changed files with 33 additions and 7 deletions
+2 -2
View File
@@ -441,9 +441,9 @@ describe('expandSelectedSessionCollapseOverrides', () => {
machineId: 'machine-1'
})
expect(result.has('machine-1::/work/hapi')).toBe(false)
expect(result.get('machine-1::/work/hapi')).toBe(false)
expect(result.get('sessions::machine-1::/work/hapi')).toBe(true)
expect(result.has('machine::machine-1')).toBe(false)
expect(result.get('machine::machine-1')).toBe(false)
})
it('leaves missing session preview override unset', () => {