summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static/resources
diff options
context:
space:
mode:
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.js2
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));
};