From 8bb3271a1a31f59b19d068bca980962a7323f5c2 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 19 Jan 2016 13:31:49 -0500 Subject: [PATCH] Fix repo tag revert Fixes #1146 --- static/js/directives/repo-view/repo-panel-tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/repo-view/repo-panel-tags.js b/static/js/directives/repo-view/repo-panel-tags.js index 38615b831..ddce687bf 100644 --- a/static/js/directives/repo-view/repo-panel-tags.js +++ b/static/js/directives/repo-view/repo-panel-tags.js @@ -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); } };