Small NPE Fix
This commit is contained in:
parent
d9bafa478b
commit
fe7677f275
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio
|
||||||
CheckStateController.prototype.buildMap_ = function() {
|
CheckStateController.prototype.buildMap_ = function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
this.checked.forEach(function(item) {
|
this.checked.forEach(function(item) {
|
||||||
|
if (item == null) { return; }
|
||||||
that.checkedMap[item[that.itemKey]] = true;
|
that.checkedMap[item[that.itemKey]] = true;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue