From cb733ef25abb05f01f20eec1ac660180565c9ea9 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 26 May 2015 13:49:58 -0400 Subject: [PATCH] We only add the build to the build list if present, not if missing --- static/js/directives/repo-view/repo-panel-builds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();