diff options
-rw-r--r-- | src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts index 8581f7b8975..2ace93d21b5 100644 --- a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts +++ b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts @@ -220,7 +220,7 @@ export class WebviewEditorService implements IWebviewEditorService { // Revived webviews may not have an actively registered reviver but we still want to presist them // since a reviver should exist when it is actually needed. - return !(webview instanceof RevivedWebviewEditorInput); + return webview instanceof RevivedWebviewEditorInput; } private async tryRevive( |