mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
attempt to fix lint
This commit is contained in:
parent
2139ed8973
commit
1c2d4aba3b
1 changed files with 5 additions and 2 deletions
|
@ -100,7 +100,7 @@ export default class Main extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
const filterBranch = (build) => {
|
||||
const filterBranch = build => {
|
||||
return !branch || build.branch === branch;
|
||||
};
|
||||
|
||||
|
@ -134,7 +134,10 @@ export default class Main extends Component {
|
|||
)}
|
||||
</div>
|
||||
<List>
|
||||
{list.sort(compareBuild).filter(filterBranch).map(renderBuild)}
|
||||
{list
|
||||
.sort(compareBuild)
|
||||
.filter(filterBranch)
|
||||
.map(renderBuild)}
|
||||
</List>
|
||||
{list.length < repo.last_build && (
|
||||
<button
|
||||
|
|
Loading…
Reference in a new issue