Add a proper throbber to the repo list table
This commit is contained in:
parent
d23965f79b
commit
ede9936722
2 changed files with 8 additions and 2 deletions
|
@ -81,8 +81,13 @@ angular.module('quay').directive('repoListTable', function () {
|
|||
$scope.$watch('repositoriesResources', function(resources) {
|
||||
$scope.repositories = [];
|
||||
$scope.maxPopularity = 0;
|
||||
$scope.isLoading = false;
|
||||
|
||||
resources.forEach(function(resource) {
|
||||
if (resource.loading) {
|
||||
$scope.isLoading = true;
|
||||
}
|
||||
|
||||
(resource.value || []).forEach(function(repository) {
|
||||
var repositoryInfo = $.extend(repository, {
|
||||
'full_name': repository.namespace + '/' + repository.name,
|
||||
|
|
Reference in a new issue