mirror of
https://github.com/unraid/webgui.git
synced 2026-03-07 01:30:59 -06:00
Fix next/prev buttons for emulated disks
This commit is contained in:
@@ -41,7 +41,7 @@ if ($type=='New') {
|
||||
$dev = $disk['device'];
|
||||
$file = $disk['id']."-$date.txt";
|
||||
foreach ($disks as $sheet) {
|
||||
if ($sheet['type']=='Flash' || ($sheet['type']=='Parity' && $sheet['status']=='DISK_NP_DSBL')) continue;
|
||||
if ($sheet['type']=='Flash' || $sheet['color']=='grey-off') continue;
|
||||
$sheets[] = $sheet['name'];
|
||||
if ($sheet['name']==$name) { $i = $n; $spindown = "diskSpindownDelay.{$sheet['idx']}"; $delay = $sheet['spindownDelay']; }
|
||||
$n++;
|
||||
|
||||
Reference in New Issue
Block a user