Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Jul 10, 2021
1 parent 4bc4aa1 commit a759084
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions www/js/MontageCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2428,7 +2428,9 @@ angular.module('zmApp.controllers')

}
} // pos
if (!monitor_found && !$scope.currentZMGroupName) {


if (!monitor_found && !$scope.currentZMGroupName ) {
NVR.debug (mon[m].Monitor.Name+' not found, profile='+ld.currentMontageProfile+' and group='+$scope.currentZMGroupName);
mon[m].Monitor.listDisplay = ((ld.currentMontageProfile == $translate.instant('kMontageDefaultProfile') || !ld.currentMontageProfile || !positions.length)) ?'show':'noshow';
NVR.debug (ld.currentMontageProfile + '=> Making '+mon[m].Monitor.Name+' to '+mon[m].Monitor.listDisplay+' as this monitor was not found in profile');
Expand All @@ -2449,7 +2451,7 @@ angular.module('zmApp.controllers')
function parsePositions(ps) {
//var ld = NVR.getLogin();
var positions;
NVR.debug ('parsePositions: got '+JSON.stringify(ps));
//NVR.debug ('parsePositions: got '+JSON.stringify(ps));
if (!ps) return [];
try {
positions = JSON.parse(ps);
Expand Down

0 comments on commit a759084

Please sign in to comment.