mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 02:31:45 -05:00
Fixed cache pool message when array in maintenance mode
This commit is contained in:
@@ -125,7 +125,7 @@ function vfs_luks($fs) {
|
||||
function fs_info(&$disk) {
|
||||
global $display;
|
||||
if ($disk['fsStatus']=='-') {
|
||||
echo $disk['type']=='Cache' ? "<td colspan='4'>Device is part of cache pool</td><td></td>" : "<td colspan='5'></td>";
|
||||
echo ($disk['type']=='Cache' && $disk['name']!='cache') ? "<td colspan='4'>Device is part of cache pool</td><td></td>" : "<td colspan='5'></td>";
|
||||
return;
|
||||
} elseif ($disk['fsStatus']=='Mounted') {
|
||||
echo "<td>".vfs_type($disk['fsType'])."</td>";
|
||||
|
||||
Reference in New Issue
Block a user