[BUGFIX] site_code attribute in statistics
This commit is contained in:
parent
ed93a202d6
commit
4315f18efe
@ -106,7 +106,7 @@ define(['d3-interpolate', 'snabbdom', 'filters/genericnode', 'helper'],
|
|||||||
return _.t('node.deactivated');
|
return _.t('node.deactivated');
|
||||||
});
|
});
|
||||||
|
|
||||||
var siteDict = count(nodes, ['nodeinfo', 'site_code'], function (d) {
|
var siteDict = count(nodes, ['site_code'], function (d) {
|
||||||
if (config.siteNames) {
|
if (config.siteNames) {
|
||||||
config.siteNames.forEach(function (t) {
|
config.siteNames.forEach(function (t) {
|
||||||
if (d === t.site) {
|
if (d === t.site) {
|
||||||
|
Loading…
Reference in New Issue
Block a user