mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
Correctly handle when webview.reveal is called without any args
Fixes #48707
This commit is contained in:
@@ -98,7 +98,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
|
||||
webview.html = value;
|
||||
}
|
||||
|
||||
$reveal(handle: WebviewPanelHandle, column: Position | undefined): void {
|
||||
$reveal(handle: WebviewPanelHandle, column: Position | null): void {
|
||||
const webview = this.getWebview(handle);
|
||||
if (webview.isDisposed()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user