mirror of
https://github.com/unraid/webgui.git
synced 2026-03-12 13:59:50 -05:00
Fixed missing devices in new extended data array and cache pool size on Dashboard page
This commit is contained in:
@@ -144,6 +144,7 @@ echo "<td>Array Status</td>".implode('',$row0);
|
||||
<?
|
||||
$row0 = array_fill(0,30,"<td>-</td>"); $i = 0;
|
||||
foreach ($disks as $disk) if ($disk['type']=='Cache' && $disk['status']!='DISK_NP') $row0[$i++] = "<td>Cache<br> ".filter_var($disk['name'],FILTER_SANITIZE_NUMBER_INT)." </td>";
|
||||
foreach ($devs as $dev) $row0[$i++] = "<td>{$dev['device']}</td>";
|
||||
echo "<td>Array Status</td>".implode('',$row0);
|
||||
?>
|
||||
</tr></thead>
|
||||
|
||||
Reference in New Issue
Block a user