[BUGFIX] site_code attribute in statistics

This commit is contained in:
Martin Geno 2017-11-02 14:59:45 +01:00 committed by Xaver Maierhofer
parent ed93a202d6
commit 4315f18efe

View File

@ -106,7 +106,7 @@ define(['d3-interpolate', 'snabbdom', 'filters/genericnode', 'helper'],
return _.t('node.deactivated');
});
var siteDict = count(nodes, ['nodeinfo', 'site_code'], function (d) {
var siteDict = count(nodes, ['site_code'], function (d) {
if (config.siteNames) {
config.siteNames.forEach(function (t) {
if (d === t.site) {