Small NPE Fix

This commit is contained in:
Joseph Schorr 2015-07-13 12:20:51 +03:00
parent d9bafa478b
commit fe7677f275

View file

@ -47,6 +47,7 @@ angular.module('quay').factory('UIService', ['$timeout', '$rootScope', '$locatio
CheckStateController.prototype.buildMap_ = function() {
var that = this;
this.checked.forEach(function(item) {
if (item == null) { return; }
that.checkedMap[item[that.itemKey]] = true;
});
};