only trigger view creation when notebook is opened (#198568)

This commit is contained in:
Aaron Munger
2023-11-17 14:32:07 -08:00
committed by GitHub
parent 69c3625893
commit dbd4b8a669

View File

@@ -26,9 +26,6 @@ export class NotebookVariables extends Disposable implements IWorkbenchContribut
@IConfigurationService configurationService: IConfigurationService,
) {
super();
if (this.initializeView()) {
return;
}
this.listener = this.editorService.onDidEditorsChange(() => {
if (configurationService.getValue('notebook.experimental.notebookVariablesView')