We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f53f3 commit 523975aCopy full SHA for 523975a
src/webviews/apps/shared/components/tree/tree-generator.ts
@@ -139,6 +139,10 @@ export class GlTreeGenerator extends GlElement {
139
140
this._model = value;
141
142
+ // Clear stale node map before processing new model
143
+ // This prevents stale node references when switching commits or toggling filters
144
+ this._nodeMap.clear();
145
+
146
// Build both maps during tree flattening (single traversal)
147
let treeItems: TreeModelFlat[] | undefined;
148
if (this._model != null) {
0 commit comments