mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
FE+BE: allow ❌None as a value in DeviceEdit for fields with other default NEWDEV values
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -1000,7 +1000,8 @@ function isRandomMAC(mac)
|
||||
return input;
|
||||
}
|
||||
// Empty array
|
||||
if (input === '[]' || input === '') {
|
||||
// if (input === '[]' || input === '') {
|
||||
if (input === '[]') {
|
||||
return [];
|
||||
}
|
||||
// handle integer
|
||||
|
||||
Reference in New Issue
Block a user