We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1028894 commit e3a2bc4Copy full SHA for e3a2bc4
src/services/FluentIconsService.ts
@@ -20,7 +20,7 @@ export class FluentIconsService {
20
21
public search = (query: string, startsWith?: boolean): string[] => {
22
const lowerCasedQuery = query.toLowerCase();
23
- return this._iconNames.filter(name => !startsWith ? name.toLowerCase().indexOf(lowerCasedQuery) !== -1 : name.toLowerCase().indexOf(lowerCasedQuery) === 0);
+ return this._iconNames.filter(name => startsWith === false ? name.toLowerCase().indexOf(lowerCasedQuery) !== -1 : name.toLowerCase().indexOf(lowerCasedQuery) === 0);
24
}
25
26
0 commit comments