Skip to content

Commit 0406afa

Browse files
committed
fix(ClineProvider): use tabPanelId to ref tab panels
1 parent 2f9b748 commit 0406afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ export class ClineProvider
16941694
return vscode.ViewColumn.Active
16951695
}
16961696
// If there are multiple windows, we need to check if the view is a WebviewPanel
1697-
const isViewPanel = this.view?.viewType === "roo-cline.TabPanelProvider"
1697+
const isViewPanel = this.view?.viewType === ClineProvider.tabPanelId
16981698
if (!isViewPanel) {
16991699
// If the view is not a WebviewPanel, return 1. 1 is the default view column of the editor.
17001700
// Non default values can only be found in WebviewPanel.

0 commit comments

Comments
 (0)