Fix repo tag revert

Fixes #1146
This commit is contained in:
Joseph Schorr 2016-01-19 13:31:49 -05:00
parent 6fc7d2a230
commit 8bb3271a1a

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);
}
};