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>
(cherry picked from commit 97424d57af
)
This commit is contained in:
parent
904fb39c31
commit
54b2195dcf
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