Skip to content

Commit f266cd3

Browse files
authored
Refresh immediately when PR webview becomes visible (#7272)
Fixes #6898
1 parent 6163094 commit f266cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/issueOverview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class IssueOverviewPanel<TItem extends IssueModel = IssueModel> extends W
154154

155155
protected onDidChangeViewState(e: vscode.WebviewPanelOnDidChangeViewStateEvent): void {
156156
if (e.webviewPanel.visible) {
157-
this.pollForUpdates(!!this._item);
157+
this.pollForUpdates(!!this._item, true);
158158
}
159159
}
160160

0 commit comments

Comments
 (0)