mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Correcty unique used servo indexes
This commit is contained in:
parent
951dd7faa6
commit
dc910e4702
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,9 @@ let ServoMixerRuleCollection = function () {
|
|||
}
|
||||
}
|
||||
|
||||
return jQuery.unique(out).sort(function(a, b){
|
||||
let unique = [...new Set(out)];
|
||||
|
||||
return unique.sort(function(a, b) {
|
||||
return a-b;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue