diff --git a/views/default.handlebars b/views/default.handlebars index a30dcfb6..32b5bfa3 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -4760,13 +4760,13 @@ r += '' + groupingTags + ''; } if (deviceViewSettings.devsCols.indexOf('windowsav') >= 0) { // Windows AV - r += '' + (node.wsc ? (node.wsc.antiVirus == 'OK' ? "OK" : "BAD") : ""); + r += '' + ((node.wsc && node.wsc.antiVirus != null) ? (node.wsc.antiVirus == 'OK' ? "OK" : "BAD") : ""); } if (deviceViewSettings.devsCols.indexOf('windowsupdate') >= 0) {// Windows Update - r += '' + (node.wsc ? (node.wsc.autoUpdate == 'OK' ? "OK" : "BAD") : ""); + r += '' + ((node.wsc && node.wsc.autoUpdate != null) ? (node.wsc.autoUpdate == 'OK' ? "OK" : "BAD") : ""); } if (deviceViewSettings.devsCols.indexOf('windowsfirewall') >= 0) { // Windows Firewall - r += '' + (node.wsc ? (node.wsc.firewall == 'OK' ? "OK" : "BAD") : ""); + r += '' + ((node.wsc && node.wsc.firewall != null) ? (node.wsc.firewall == 'OK' ? "OK" : "BAD") : ""); } if (deviceViewSettings.devsCols.indexOf('links') >= 0) { r += '' + getShortRouterLinks(node); } // Links if (deviceViewSettings.devsCols.indexOf('user') >= 0) { r += '' + getUserShortStr(node); } // User