mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-15 04:21:51 +00:00
fix blank Windows Defender
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
37911d091c
commit
3f8bbe68b0
1 changed files with 1 additions and 1 deletions
|
@ -7415,7 +7415,7 @@
|
||||||
var y = [];
|
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.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>'); } }
|
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
|
// Antivirus
|
||||||
|
|
Loading…
Reference in a new issue