From e99ae67e58e8679401b8a455f125baed8b8797d2 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 7 May 2015 18:26:11 -0400 Subject: [PATCH] We need to query for builds even if the repository is not currently building. --- static/js/pages/repo-view.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/pages/repo-view.js b/static/js/pages/repo-view.js index 5e5943d18..fdc579994 100644 --- a/static/js/pages/repo-view.js +++ b/static/js/pages/repo-view.js @@ -81,12 +81,8 @@ $scope.setTags($routeParams.tag); // Track builds. - if (!$scope.repository.is_building) { - $scope.viewScope.builds = []; - } - buildPollChannel = AngularPollChannel.create($scope, loadRepositoryBuilds, 30000 /* 30s */); - buildPollChannel.start(!$scope.repository.is_building); + buildPollChannel.start(); }, 10); }); };