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
parent
commit
155d533ee9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      libs/ui/src/lib/symbol-autocomplete/symbol-autocomplete.component.ts

2
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;

Loading…
Cancel
Save