diff --git a/static/js/directives/repo-view/repo-panel-builds.js b/static/js/directives/repo-view/repo-panel-builds.js index a1d8fdd31..72b3c05f5 100644 --- a/static/js/directives/repo-view/repo-panel-builds.js +++ b/static/js/directives/repo-view/repo-panel-builds.js @@ -260,7 +260,7 @@ angular.module('quay').directive('repoPanelBuilds', function () { }; $scope.handleBuildStarted = function(build) { - if (!$scope.allBuilds) { + if ($scope.allBuilds) { $scope.allBuilds.push(build); } updateBuilds();