mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
fix drive status undefined
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
cd48909dcb
commit
8547de340c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue