mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Fixed article search loop icon not working
This commit is contained in:
@@ -29,7 +29,7 @@ import {
|
||||
src="/assets/images/close.svg"
|
||||
/>
|
||||
<img
|
||||
(click)="search.emit(input)"
|
||||
(click)="emitSearch(input)"
|
||||
class="search-icon"
|
||||
src="/assets/images/search.svg"
|
||||
/>
|
||||
@@ -62,6 +62,10 @@ export class SearchComponent implements OnInit {
|
||||
this.change('');
|
||||
}
|
||||
|
||||
emitSearch(input: string) {
|
||||
this.search.emit(input);
|
||||
}
|
||||
|
||||
keyHandler(event: any) {
|
||||
if (event.key === 'Enter') {
|
||||
this.search.emit(this.input);
|
||||
|
||||
Reference in New Issue
Block a user