Skip to content

Commit c579667

Browse files
author
Akos Kitta
committed
Ignore whitespaces when searhing for libs, cores.
Signed-off-by: Akos Kitta <[email protected]>
1 parent b6306c3 commit c579667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/components/component-list/filterable-list-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class FilterableListContainer<T> extends React.Component<FilterableListCo
6060

6161
protected search (query: string): void {
6262
const { searchable } = this.props;
63-
searchable.search({ query }).then(result => {
63+
searchable.search({ query: query.trim() }).then(result => {
6464
const { items } = result;
6565
this.setState({
6666
items: this.sort(items)

0 commit comments

Comments
 (0)