mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 10:38:50 -05:00
Bug fixes
This commit is contained in:
@@ -59,7 +59,7 @@ function my_disks($disk) {
|
||||
return strpos($disk['status'],'_NP')===false;
|
||||
}
|
||||
function prefix($key) {
|
||||
return preg_replace('/[0-9]+$/','',$key);
|
||||
return preg_replace('/\d+$/','',$key);
|
||||
}
|
||||
function parity_only($disk) {
|
||||
return $disk['type']=='Parity';
|
||||
|
||||
Reference in New Issue
Block a user