Revert "fix #105923."

This reverts commit 26aae86ac2.
This commit is contained in:
rebornix
2020-09-02 12:36:46 -07:00
parent 23c359da9c
commit e2f63c9013

View File

@@ -387,7 +387,7 @@ export class NotebookContribution extends Disposable implements IWorkbenchContri
const existingEditors = group.editors.filter(editor => editor.resource && isEqual(editor.resource, notebookUri) && !(editor instanceof NotebookEditorInput));
if (existingEditors.length) {
return { override: this.editorService.openEditor(existingEditors[0]) };
return undefined;
}
const userAssociatedEditors = this.getUserAssociatedEditors(notebookUri);