mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 18:48:49 -05:00
No warning text (that data will be lost) when adding new disks to array without parity.
This commit is contained in:
@@ -144,7 +144,7 @@ function array_offline(&$disk) {
|
||||
} else {
|
||||
if ($var['mdState']=='NEW_ARRAY') {
|
||||
if ($disk['type']=='Parity') $warning = $text;
|
||||
} else {
|
||||
} else if ($var['mdNumInvalid']<=1) {
|
||||
if (in_array($disk['status'],['DISK_INVALID','DISK_DSBL_NEW','DISK_WRONG','DISK_NEW'])) $warning = $text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user