Merge pull request #44 from coreos-inc/smallfixes

We only add the build to the build list if present, not if missing
This commit is contained in:
Jimmy Zelinskie 2015-05-26 13:50:41 -04:00
commit 0633db973e

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