From fe7677f275cb399146e89f942a7b4b6a29ea91b8 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 13 Jul 2015 12:20:51 +0300 Subject: [PATCH] Small NPE Fix --- static/js/services/ui-service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/services/ui-service.js b/static/js/services/ui-service.js index 792f8ad11..32a2acd24 100644 --- a/static/js/services/ui-service.js +++ b/static/js/services/ui-service.js @@ -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; }); };