mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
fix: ZFS subpools show up and can be selected in the new permissions tool
This commit is contained in:
@@ -18,8 +18,7 @@ Tag="folder-o"
|
||||
<?
|
||||
$width = [166,300];
|
||||
function data_disks($disk) {
|
||||
global $pools;
|
||||
return (_var($disk,'type')=="Data" || (_var($disk,'type')=="Cache" && in_array(_var($disk,'name'),$pools))) && _var($disk,'status')=='DISK_OK';
|
||||
return in_array(_var($disk,'type'),['Data','Cache']) && array_key_exists('exportable',$disk) && _var($disk,'fsStatus')=='Mounted';
|
||||
}
|
||||
?>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user