Skip to content

Commit e3a2bc4

Browse files
committed
reverting back to startsWith === false from !startsWith
1 parent 1028894 commit e3a2bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/FluentIconsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class FluentIconsService {
2020

2121
public search = (query: string, startsWith?: boolean): string[] => {
2222
const lowerCasedQuery = query.toLowerCase();
23-
return this._iconNames.filter(name => !startsWith ? name.toLowerCase().indexOf(lowerCasedQuery) !== -1 : name.toLowerCase().indexOf(lowerCasedQuery) === 0);
23+
return this._iconNames.filter(name => startsWith === false ? name.toLowerCase().indexOf(lowerCasedQuery) !== -1 : name.toLowerCase().indexOf(lowerCasedQuery) === 0);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)