Merge pull request #3275 from kleesc/fix-tag-ui-function-name
Fix tag ui function name
This commit is contained in:
commit
436e8cb760
4 changed files with 9 additions and 4 deletions
|
@ -341,7 +341,8 @@
|
|||
<div class="empty-secondary-msg">Try expanding your filtering terms.</div>
|
||||
</div>
|
||||
|
||||
<div class="empty" ng-if="!allTags.length">
|
||||
<div class="cor-loader" ng-show="tagsLoading"></div>
|
||||
<div class="empty" ng-if="!allTags.length && !tagsLoading">
|
||||
<div class="empty-primary-msg">This repository is empty.</div>
|
||||
<div class="empty-secondary-msg">Push a tag or initiate a build to populate this repository.</div>
|
||||
</div>
|
||||
|
|
|
@ -39,7 +39,7 @@ angular.module('quay').directive('tagOperationsDialog', function () {
|
|||
$.extend(tags, newTags);
|
||||
|
||||
if (resp.has_additional) {
|
||||
loadPaginatedRepositoryTags(page + 1, tags, added, removed);
|
||||
reloadTags(page + 1, tags, added, removed);
|
||||
} else {
|
||||
$scope.repositoryTags = tags;
|
||||
$scope.imageLoader.reset();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
<div class="repo-panel-tags"
|
||||
repository="viewScope.repository"
|
||||
repository-tags="viewScope.repositoryTags"
|
||||
tags-loading="viewScope.tagsLoading"
|
||||
image-loader="viewScope.imageLoader"
|
||||
selected-tags="viewScope.selectedTags"
|
||||
history-filter="viewScope.historyFilter"
|
||||
|
|
Reference in a new issue