diff --git a/ui/js/models/repository.js b/ui/js/models/repository.js
index <HASH>..<HASH> 100644
--- a/ui/js/models/repository.js
+++ b/ui/js/models/repository.js
@@ -298,11 +298,7 @@ treeherder.factory('ThRepositoryModel', [
 
             // filter out non-watched and unsupported repos to prevent repeatedly
             // hitting an endpoint we know will never work.
-            repoNames = repoNames.filter((repo) => {
-                if (_.includes(watchedRepos, repo) && repos[repo].treeStatus.status !== 'unsupported') {
-                    return repo;
-                }
-            });
+            repoNames = repoNames.filter(repo => _.includes(watchedRepos, repo) && repos[repo].treeStatus.status !== 'unsupported');
             var newStatuses = {};
 
             var getStatus = function (repo) {
Bug <I> - Fix eslint "array-callback-return" error (#<I>)

Avoids an implicit return value of `undefined`, which would cause

one of the new eslint rules in bug <I> to fail.