fix blank Windows Defender

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-01-28 18:52:16 +00:00
parent 37911d091c
commit 3f8bbe68b0
1 changed files with 1 additions and 1 deletions

View File

@ -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