fix drive status undefined

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jan 27, 2024 at 12:42 UTC 8547de340c1e78aaadc6b850825dbb65fd93ad6a
1 file changed +1 -1
views/default.handlebars
+1 -1
@@ -12075,7 +12075,7 @@
12075 }
12076 if(hardware.windows && hardware.windows.drives && m.Model){
12077 const foundObject = hardware.windows.drives.find(obj => obj['Model'] === m.Model);
12078 - if(foundObject) x += addDetailItem("Status", EscapeHtml(foundObject.Status), s);
12078 + if(foundObject && foundObject.Status) x += addDetailItem("Status", EscapeHtml(foundObject.Status), s);
12079 }
12080 x += '</div>';
12081 }