diff --git a/ui/src/app/settings/components/repos-list/repos-list.tsx b/ui/src/app/settings/components/repos-list/repos-list.tsx index 809596afc2481..714ff780ecafb 100644 --- a/ui/src/app/settings/components/repos-list/repos-list.tsx +++ b/ui/src/app/settings/components/repos-list/repos-list.tsx @@ -331,10 +331,10 @@ export class ReposList extends React.Component< action: () => this.setState({projectProperty: 'all'}) }, ...projectValues - .filter(project => project && project.trim() !== '') + .filter(project => project && project.trim() !== '') .map(project => ({ title: project, - action: () => this.setState({ projectProperty: project }) + action: () => this.setState({projectProperty: project}) })) ]; @@ -1066,7 +1066,7 @@ export class ReposList extends React.Component< >>>>>>> 0a23f1847 (refactor : delete sort dropdown and fix eslint) private filteredName(repos: models.Repository[], name: string) { const trimmedName = name.trim(); - if (trimmedName === ''){ + if (trimmedName === '') { return repos; } const newRepos = repos.filter(repo => repo.name && repo.name.toLowerCase().includes(trimmedName.toLowerCase()));