Files
archived-orca/src
Jinjing 5bb03eb8f4 fix: guard WorktreeList getItemKey against stale virtualizer cache entries (#625)
When rows shrink (group collapse, worktree removal) while PR/issue data
arrives asynchronously, the virtualizer's elementsCache can hold stale
entries whose data-index exceeds the new rows length. measureElement
calls getItemKey for those stale indices, causing "Cannot read properties
of undefined (reading 'type')". Add a null guard matching the pattern
already used by FileExplorer and Search virtualizers.
2026-04-13 23:31:50 -07:00
..