Skip to content

Commit 30730ef

Browse files
authored
Display selected kernel in kernel picker (microsoft#136042)
1 parent 9fa1d5b commit 30730ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ registerAction2(class extends Action2 {
193193

194194
// Next display all of the kernels grouped by categories or extensions.
195195
// If we don't have a kind, always display those at the bottom.
196-
const picks = all.filter(item => item !== selected && !suggestions.includes(item)).map(toQuickPick);
196+
const picks = all.filter(item => !suggestions.includes(item)).map(toQuickPick);
197197
const kernelsPerCategory = groupBy(picks, (a, b) => compareIgnoreCase(a.kernel.kind || 'z', b.kernel.kind || 'z'));
198198
kernelsPerCategory.forEach(items => {
199199
quickPickItems.push({

0 commit comments

Comments
 (0)