Load the recent builds every time the repo loads.
This commit is contained in:
parent
a87dcf79d4
commit
7fc5888bb0
1 changed files with 2 additions and 4 deletions
|
@ -655,10 +655,8 @@ function RepoCtrl($scope, $sanitize, Restangular, ImageMetadataService, ApiServi
|
||||||
$rootScope.description = jQuery(getFirstTextLine(repo.description)).text() ||
|
$rootScope.description = jQuery(getFirstTextLine(repo.description)).text() ||
|
||||||
'Visualization of images and tags for ' + kind + ' Docker repository: ' + qualifiedRepoName;
|
'Visualization of images and tags for ' + kind + ' Docker repository: ' + qualifiedRepoName;
|
||||||
|
|
||||||
// If the repository is marked as building, start monitoring it for changes.
|
// Load the builds for this repository. If none are active it will cancel the poll.
|
||||||
if (repo.is_building) {
|
startBuildInfoTimer(repo);
|
||||||
startBuildInfoTimer(repo);
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#copyClipboard').clipboardCopy();
|
$('#copyClipboard').clipboardCopy();
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue