Fix NPE
This commit is contained in:
parent
b63b378088
commit
d53f2f9fc8
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ angular.module('quay').directive('tagOperationsDialog', function () {
|
|||
}
|
||||
|
||||
var tag_info = tags[index];
|
||||
if (!tag_info) { return; }
|
||||
|
||||
$scope.deleteTag(tag_info.name, function(result) {
|
||||
if (!result) {
|
||||
callback(false);
|
||||
|
|
Reference in a new issue