Skip to content

Commit 402b089

Browse files
committed
Remove 'All Repo' wording
1 parent 56e2829 commit 402b089

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ app.controller('MainCtrl', ['$scope', 'filterFilter', '$anchorScroll',
2121
/* init pagination with $scope.list */
2222
$scope.noOfRepos = projects.length;
2323
$scope.noOfPages = Math.ceil($scope.noOfRepos / $scope.entryLimit);
24-
$scope.resultsSectionTitle = 'All Repos';
24+
$scope.resultsSectionTitle;
2525
$scope.pageChanged = function() {
2626
$anchorScroll();
2727
};
@@ -31,7 +31,7 @@ app.controller('MainCtrl', ['$scope', 'filterFilter', '$anchorScroll',
3131
$scope.filtered = filterFilter(projects, term);
3232
$scope.noOfRepos = $scope.filtered.length;
3333
$scope.noOfPages = Math.ceil($scope.noOfRepos / $scope.entryLimit);
34-
$scope.resultsSectionTitle = (!term) ? 'All Repos' : (($scope.noOfRepos === 0) ? 'Search results' : ($scope.noOfRepos + ' repositories found'));
34+
$scope.resultsSectionTitle = (!term) ? '' : (($scope.noOfRepos === 0) ? 'Search results' : ($scope.noOfRepos + ' repositories found'));
3535
});
3636

3737
self.projects = projects;

0 commit comments

Comments
 (0)