We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e10792e commit e8e71aeCopy full SHA for e8e71ae
src/github/issueOverview.ts
@@ -354,7 +354,9 @@ export class IssueOverviewPanel<TItem extends IssueModel = IssueModel> extends W
354
const isNewItem = !this._item || (this._item.number !== identity.number);
355
if (isNewItem || !this._panel.webview.html) {
356
this._panel.webview.html = this.getHtmlForWebview();
357
- this._postMessage({ command: 'pr.clear' });
+ if (this._item) {
358
+ this._postMessage({ command: 'pr.clear' });
359
+ }
360
}
361
362
// If no model provided, resolve it from the identity
0 commit comments