From 1c2d4aba3bc2b53746a80807ecad9739d16ce8f8 Mon Sep 17 00:00:00 2001 From: Alex Eftimie Date: Thu, 27 May 2021 07:17:11 +0200 Subject: [PATCH] attempt to fix lint --- web/src/screens/repo/screens/builds/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/screens/repo/screens/builds/index.js b/web/src/screens/repo/screens/builds/index.js index 787c01e42..cf3f7b034 100644 --- a/web/src/screens/repo/screens/builds/index.js +++ b/web/src/screens/repo/screens/builds/index.js @@ -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 { )} - {list.sort(compareBuild).filter(filterBranch).map(renderBuild)} + {list + .sort(compareBuild) + .filter(filterBranch) + .map(renderBuild)} {list.length < repo.last_build && (