Add public access to time machine

Fixes #333
This commit is contained in:
Joseph Schorr 2015-08-07 13:30:34 -04:00
parent 7d6c6ba8e8
commit 5044a4d58b
2 changed files with 6 additions and 4 deletions

View file

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