Show loader when tags are loading instead of empty msg

This commit is contained in:
Kenny Lee Sin Cheong 2018-10-24 17:35:02 -04:00
parent 1cda2e1a62
commit e61551d6b9
3 changed files with 8 additions and 3 deletions

View file

@ -31,7 +31,8 @@
'imageLoader': imageLoader,
'builds': null,
'historyFilter': '',
'repositoryTags': null
'repositoryTags': null,
'tagsLoading': true
};
$scope.repositoryTags = {};
@ -77,7 +78,9 @@
if (resp.has_additional) {
loadPaginatedRepositoryTags(page + 1);
}
} else {
$scope.viewScope.tagsLoading = false;
}
});
};