diff --git a/web-app/src/app/map/controls/search.component.ts b/web-app/src/app/map/controls/search.component.ts index 442f3c491..bfdb11ee9 100644 --- a/web-app/src/app/map/controls/search.component.ts +++ b/web-app/src/app/map/controls/search.component.ts @@ -22,7 +22,7 @@ export interface SearchEvent { }) export class SearchComponent implements AfterViewInit { - @ViewChild('searchInput', { static: true }) searchInput: any; + @ViewChild('searchInput') searchInput: ElementRef; @ViewChild(MatList, { read: ElementRef }) matList: ElementRef; @Output() onSearch = new EventEmitter();