Skip to content

Commit

Permalink
Fix #180081. Use extension display name in kernel source list (#181379)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix authored May 3, 2023
1 parent 63f0154 commit d72fdc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ export class KernelPickerMRUStrategy extends KernelPickerStrategyBase {
// group controllers by extension
for (const group of groupBy(others, (a, b) => a.extension.value === b.extension.value ? 0 : 1)) {
const extension = this._extensionService.extensions.find(extension => extension.identifier.value === group[0].extension.value);
const source = extension?.description ?? group[0].extension.value;
const source = extension?.displayName ?? extension?.description ?? group[0].extension.value;
if (group.length > 1) {
quickPickItems.push({
label: source,
Expand Down

0 comments on commit d72fdc2

Please sign in to comment.