summaryrefslogtreecommitdiff
path: root/www/js/MomentCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MomentCtrl.js')
-rw-r--r--www/js/MomentCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js
index 7217f2b1..a52e5466 100644
--- a/www/js/MomentCtrl.js
+++ b/www/js/MomentCtrl.js
@@ -545,7 +545,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
var ld = NVRDataModel.getLogin();
$scope.gridSize = ld.momentGridSize;
- excludeMonitors = JSON.parse(ld.momentMonitorFilter);
+ excludeMonitors = JSON.parse(ld.momentMonitorFilter || []);
console.log ("RETRIEVED EXCLUDE="+JSON.stringify(excludeMonitors));
constructMask();
$scope.isSubMenu = false;