Merge pull request #5970 from rmilecki/ddns-sort-services
luci-app-ddns: sort list of services
This commit is contained in:
commit
0db66851e2
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ return view.extend({
|
|||
_this.services[service.name.replace('.json','')] = true
|
||||
});
|
||||
|
||||
this.services = Object.fromEntries(Object.entries(this.services).sort());
|
||||
|
||||
list_service.forEach(function (service) {
|
||||
if (!_this.services[service])
|
||||
_this.services[service] = false;
|
||||
|
|
Loading…
Reference in a new issue