parent
7d6c6ba8e8
commit
5044a4d58b
2 changed files with 6 additions and 4 deletions
|
@ -276,7 +276,9 @@ angular.module('quay').directive('repoPanelTags', function () {
|
|||
};
|
||||
|
||||
$scope.askRevertTag = function(tag, image_id) {
|
||||
$scope.tagActionHandler.askRevertTag(tag, image_id);
|
||||
if ($scope.repo.can_write) {
|
||||
$scope.tagActionHandler.askRevertTag(tag, image_id);
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue