fix blank Windows Defender
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
37911d091c
commit
3f8bbe68b0
|
@ -7415,7 +7415,7 @@
|
|||
var y = [];
|
||||
if (node.defender.RealTimeProtection != null) { if (node.defender.RealTimeProtection == true) { y.push("RealTimeProtection" + ' - <span style=color:green>' + "On" + '</span>'); } else { y.push("RealTimeProtection" + ' - <span style=color:red>' + "Off" + '</span>'); } }
|
||||
if (node.defender.TamperProtected != null) { if (node.defender.TamperProtected == true) { y.push("TamperProtection" + ' - <span style=color:green>' + "On" + '</span>'); } else { y.push("TamperProtection" + ' - <span style=color:red>' + "Off" + '</span>'); } }
|
||||
x += addDeviceAttribute("Windows Defender", y.join(', '));
|
||||
if (y.length > 0) x += addDeviceAttribute("Windows Defender", y.join(', '));
|
||||
}
|
||||
|
||||
// Antivirus
|
||||
|
|
Loading…
Reference in New Issue