Skip to content

Commit

Permalink
Fixes issues automatically show up in the Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Dec 19, 2024
1 parent 5e7d598 commit a9f499f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/plus/webviews/graph/graphWebview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,16 @@ export class GraphWebviewProvider implements WebviewProvider<State, State, Graph
return;
}

if (e.changed(RepositoryChange.Config, RepositoryChangeComparisonMode.Any)) {
if (this._refsMetadata != null) {
// Clear out any associated issue metadata
for (const [, value] of this._refsMetadata) {
if (value == null) continue;
value.issue = undefined;
}
}
}

if (e.changed(RepositoryChange.Head, RepositoryChangeComparisonMode.Any)) {
this.setSelectedRows(undefined);
}
Expand Down

0 comments on commit a9f499f

Please sign in to comment.