We only add the build to the build list if present, not if missing

This commit is contained in:
Joseph Schorr 2015-05-26 13:49:58 -04:00
parent 58685f02cd
commit 2e4893dce0

View file

@ -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();