diff options
author | Anderson McKinley <78775943+ajmckinley@users.noreply.github.com> | 2021-05-26 06:41:49 +0000 |
---|---|---|
committer | Anderson McKinley <coyoso@tuta.io> | 2021-05-26 07:01:59 +0000 |
commit | 97424d57af1d0e02ea914012c47987541d7ee6a6 (patch) | |
tree | 8c1237b1c7e54f29505f943b1b99654fa730d1d7 /applications/luci-app-statistics/htdocs/luci-static/resources | |
parent | c082ec86aae0697c65c8cc32670cbd4558870cc7 (diff) |
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>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js index 282b867c4d..6c2d5ffa46 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/collectd.js @@ -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)); }; |