We are in the browser, avoid const
This commit is contained in:
@@ -157,7 +157,7 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
|
||||
});
|
||||
|
||||
// get disk usage data
|
||||
const graphiteQueries = disk.contains.map(function (content) {
|
||||
var graphiteQueries = disk.contains.map(function (content) {
|
||||
return 'absolute(collectd.localhost.du-' + content.id + '.capacity-usage)';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user