Skip to content
Snippets Groups Projects
Commit c407f2e3 authored by Geno's avatar Geno Committed by Xaver Maierhofer
Browse files

[BUGFIX] Show contact

parent 9a483625
No related branches found
No related tags found
No related merge requests found
......@@ -252,11 +252,7 @@ define(['sorttable', 'snabbdom', 'd3-interpolate', 'moment', 'helper'],
children.push(helper.attributeEntry(V, 'node.status', showStatus(d)));
children.push(helper.attributeEntry(V, 'node.gateway', d.is_gateway ? 'ja' : undefined));
children.push(helper.attributeEntry(V, 'node.coordinates', showGeoURI(d)));
if (config.nodeInfobox && config.nodeInfobox.contact) {
children.push(helper.attributeEntry(V, 'node.contact', helper.dictGet(d, ['owner', 'contact'])));
}
children.push(helper.attributeEntry(V, 'node.contact', d.owner));
children.push(helper.attributeEntry(V, 'node.hardware', d.model));
children.push(helper.attributeEntry(V, 'node.primaryMac', d.network.mac));
children.push(helper.attributeEntry(V, 'node.firmware', showFirmware(d)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment