Skip to content

Commit 87eebd9

Browse files
Fix conditional for sort by label (#260653)
ref #260619 (comment)
1 parent 724a2fd commit 87eebd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/quickinput/browser/quickInputController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ export class QuickInputController extends Disposable {
546546
input.ignoreFocusOut = !!options.ignoreFocusLost;
547547
input.matchOnDescription = !!options.matchOnDescription;
548548
input.matchOnDetail = !!options.matchOnDetail;
549-
if (options.sortByLabel) {
549+
if (options.sortByLabel !== undefined) {
550550
input.sortByLabel = options.sortByLabel;
551551
}
552552
input.matchOnLabel = (options.matchOnLabel === undefined) || options.matchOnLabel; // default to true

0 commit comments

Comments
 (0)