From 46560c0d0a0a8f3cc457d39c9a5eadfce92228cf Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 8 May 2020 14:14:00 -0400 Subject: #939 allow multi group selection --- www/js/NVR.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/js/NVR.js') diff --git a/www/js/NVR.js b/www/js/NVR.js index 198675f4..fc3a579e 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -224,7 +224,7 @@ angular.module('zmApp.controllers') 'showAnimation': true, 'montageHideFooter': false, 'httpCordovaNoEncode': false, - 'currentZMGroupName': '', + 'currentZMGroupNames': [], 'unsupported': {} @@ -1745,8 +1745,8 @@ angular.module('zmApp.controllers') loginData.httpCordovaNoEncode = false; } - if (typeof loginData.currentZMGroupName == 'undefined') { - loginData.currentZMGroupName = ''; + if (typeof loginData.currentZMGroupNames == 'undefined') { + loginData.currentZMGroupNames = []; } if (typeof loginData.unsupported == 'undefined') { -- cgit v1.2.3