diff --git a/src/webviews/commitDetails/commitDetailsWebviewView.ts b/src/webviews/commitDetails/commitDetailsWebviewView.ts index 21b7f76..29eaade 100644 --- a/src/webviews/commitDetails/commitDetailsWebviewView.ts +++ b/src/webviews/commitDetails/commitDetailsWebviewView.ts @@ -130,6 +130,8 @@ export class CommitDetailsWebviewView extends WebviewViewBase { + if (this._pinned && !options?.pin && this.visible) return; + if (options != null) { let commit; let pin;