diff --git a/packages/geo/src/lib/search/search-bar/search-bar.component.ts b/packages/geo/src/lib/search/search-bar/search-bar.component.ts index 942d0afdc9..1554486f33 100644 --- a/packages/geo/src/lib/search/search-bar/search-bar.component.ts +++ b/packages/geo/src/lib/search/search-bar/search-bar.component.ts @@ -13,7 +13,7 @@ import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field'; -import { BehaviorSubject, Subscription, EMPTY, timer } from 'rxjs'; +import { BehaviorSubject, Subscription, timer } from 'rxjs'; import { debounce, distinctUntilChanged } from 'rxjs/operators'; import { LanguageService } from '@igo2/core'; @@ -244,7 +244,7 @@ export class SearchBarComponent implements OnInit, OnDestroy { this.stream$$ = this.stream$ .pipe( - debounce((term: string) => (term === '' ? EMPTY : timer(this.debounce))) + debounce(() => timer(this.debounce)) ) .subscribe((term: string) => this.onSetTerm(term)); diff --git a/packages/integration/src/lib/search/search-results-tool/search-results-tool.component.html b/packages/integration/src/lib/search/search-results-tool/search-results-tool.component.html index af8357707c..552195e186 100644 --- a/packages/integration/src/lib/search/search-results-tool/search-results-tool.component.html +++ b/packages/integration/src/lib/search/search-results-tool/search-results-tool.component.html @@ -1,4 +1,4 @@ -
{{ 'igo.integration.searchResultsTool.doSearch' | translate }}
@@ -7,7 +7,7 @@