luci-app-statistics: fix read of hostname
Existing javascript did not read a non-default statistics hostname due to incorrect config ids. Signed-off-by: Anderson McKinley <coyoso@tuta.io>
This commit is contained in:
parent
c082ec86aa
commit
97424d57af
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ return view.extend({
|
|||
o.load = function() {
|
||||
return fs.trimmed('/proc/sys/kernel/hostname').then(L.bind(function(name) {
|
||||
this.placeholder = name;
|
||||
return uci.get('collectd', 'statistics', 'hostname');
|
||||
return uci.get('luci_statistics', 'collectd', 'Hostname');
|
||||
}, this));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue