mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix: visibleCount should not go to nullable
Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
This commit is contained in:
parent
4580df9d4f
commit
37842b3f92
|
@ -222,7 +222,7 @@ export class SimpleSuggestWidget implements IDisposable {
|
|||
return;
|
||||
}
|
||||
|
||||
const visibleCount = this._completionModel?.items.length;
|
||||
const visibleCount = this._completionModel?.items.length ?? 0;
|
||||
const isEmpty = visibleCount === 0;
|
||||
// this._ctxSuggestWidgetMultipleSuggestions.set(visibleCount > 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue