We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e51bb9b commit 69acdd4Copy full SHA for 69acdd4
1 file changed
src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts
@@ -270,8 +270,8 @@ export class NotebookContribution extends Disposable implements IWorkbenchContri
270
271
const associatedEditors = distinct([
272
...this.getUserAssociatedNotebookEditors(notebookUri),
273
- ...this.getContributedEditors(notebookUri)
274
- ], editor => editor.id).filter(editor => editor.priority === NotebookEditorPriority.default);
+ ...(this.getContributedEditors(notebookUri).filter(editor => editor.priority === NotebookEditorPriority.default))
+ ], editor => editor.id);
275
276
if (!associatedEditors.length) {
277
// there is no notebook editor contribution which is enabled by default
0 commit comments