Skip to content

Commit 504a158

Browse files
authored
Reset when pr was created by copilot (#7158)
1 parent f2ebfe2 commit 504a158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/prsTreeDataProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class PullRequestsTreeDataProvider extends Disposable implements vscode.T
113113
}
114114
}));
115115

116-
this._register(this._copilotManager.onDidCreatePullRequest(() => this.refresh()));
116+
this._register(this._copilotManager.onDidCreatePullRequest(() => this.refresh(undefined, true)));
117117

118118
// Listen for PR overview panel changes to sync the tree view
119119
this._register(PullRequestOverviewPanel.onVisible(pullRequest => {

0 commit comments

Comments
 (0)