mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix ifname
This commit is contained in:
parent
c939ab5a24
commit
af70f16ef9
1 changed files with 2 additions and 2 deletions
|
@ -511,8 +511,8 @@ return view.extend({
|
|||
|
||||
var new_ifnames = L.toArray(value);
|
||||
|
||||
if (!value)
|
||||
new_ifnames.length = Math.max(new_ifnames.length, 1);
|
||||
if (value == undefined)
|
||||
return;
|
||||
|
||||
old_ifnames.sort();
|
||||
new_ifnames.sort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue