We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4580df9 commit 37842b3Copy full SHA for 37842b3
src/vs/workbench/services/suggest/browser/simpleSuggestWidget.ts
@@ -222,7 +222,7 @@ export class SimpleSuggestWidget implements IDisposable {
222
return;
223
}
224
225
- const visibleCount = this._completionModel?.items.length;
+ const visibleCount = this._completionModel?.items.length ?? 0;
226
const isEmpty = visibleCount === 0;
227
// this._ctxSuggestWidgetMultipleSuggestions.set(visibleCount > 1);
228
0 commit comments