mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
fix drive status undefined
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
cd48909dcb
commit
8547de340c
@ -12075,7 +12075,7 @@
|
||||
}
|
||||
if(hardware.windows && hardware.windows.drives && m.Model){
|
||||
const foundObject = hardware.windows.drives.find(obj => obj['Model'] === m.Model);
|
||||
if(foundObject) x += addDetailItem("Status", EscapeHtml(foundObject.Status), s);
|
||||
if(foundObject && foundObject.Status) x += addDetailItem("Status", EscapeHtml(foundObject.Status), s);
|
||||
}
|
||||
x += '</div>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user