1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2021-03-03 17:13:11 +01:00
parent c939ab5a24
commit af70f16ef9

View file

@ -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();