Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
773701b14d
1 changed files with 5 additions and 2 deletions
|
@ -696,6 +696,7 @@ function RepoCtrl($scope, $sanitize, Restangular, ImageMetadataService, ApiServi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var existingBuilds = $scope.runningBuilds || [];
|
||||||
$scope.runningBuilds = runningBuilds;
|
$scope.runningBuilds = runningBuilds;
|
||||||
$scope.buildHistory = resp.builds;
|
$scope.buildHistory = resp.builds;
|
||||||
|
|
||||||
|
@ -706,8 +707,10 @@ function RepoCtrl($scope, $sanitize, Restangular, ImageMetadataService, ApiServi
|
||||||
// Mark the repo as no longer building.
|
// Mark the repo as no longer building.
|
||||||
$scope.repo.is_building = false;
|
$scope.repo.is_building = false;
|
||||||
|
|
||||||
// Reload the repo information.
|
// Reload the repo information if all of the builds recently finished.
|
||||||
loadViewInfo();
|
if (existingBuilds.length > 0) {
|
||||||
|
loadViewInfo();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue