Verified Commit 77d22eda authored by Raphael Ochsenbein's avatar Raphael Ochsenbein
Browse files

Lint

parent 64578bba
Pipeline #1358 passed with stages
in 6 minutes and 6 seconds
......@@ -2109,9 +2109,7 @@ export class SearchComponent implements OnInit {
this.term.valueChanges.pipe(
throttleTime(64),
filter((term) => term && term.length > 0),
map((term) => {
return this.icons.filter((element) => element.indexOf(term) !== -1);
}),
map((term) => this.icons.filter((element) => element.indexOf(term) !== -1)),
).subscribe((results) => {
this.results = results;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment