diff --git a/src/plus/webviews/focus/focusWebview.ts b/src/plus/webviews/focus/focusWebview.ts index b1eb111..8d16b37 100644 --- a/src/plus/webviews/focus/focusWebview.ts +++ b/src/plus/webviews/focus/focusWebview.ts @@ -133,7 +133,7 @@ export class FocusWebviewProvider implements WebviewProvider { if (issueWithRemote == null) return; if (pin) { - await this.container.focus.unpinItem(issueWithRemote.issue.id); + await this.container.focus.unpinItem(pin); this._enrichedItems = this._enrichedItems?.filter(e => e.id !== pin); issueWithRemote.enriched = issueWithRemote.enriched?.filter(e => e.id !== pin); } else {