Browse Source
Bugfix/add missing guard to symbol autocomplete component (#6255)
* Add missing guard
pull/6225/head^2
Thomas Kaul
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.ts
|
|
@ -121,7 +121,7 @@ export class GfSymbolAutocompleteComponent |
|
|
this.control.valueChanges |
|
|
this.control.valueChanges |
|
|
.pipe( |
|
|
.pipe( |
|
|
filter((query) => { |
|
|
filter((query) => { |
|
|
if (query.length === 0) { |
|
|
if (query?.length === 0) { |
|
|
this.showDefaultOptions(); |
|
|
this.showDefaultOptions(); |
|
|
|
|
|
|
|
|
return false; |
|
|
return false; |
|
|
|