Merge pull request #1152 from coreos-inc/fixreverttag

Fix repo tag revert
This commit is contained in:
josephschorr 2016-01-19 13:34:01 -05:00
commit fa57100cd5

View file

@ -347,7 +347,7 @@ angular.module('quay').directive('repoPanelTags', function () {
};
$scope.askRevertTag = function(tag, image_id) {
if ($scope.repo.can_write) {
if ($scope.repository.can_write) {
$scope.tagActionHandler.askRevertTag(tag, image_id);
}
};