diff --git a/lib/infobox/node.js b/lib/infobox/node.js index 0e7e993..f8e0228 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -372,7 +372,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], function showNodeImg(o, model) { if (!model) - return undefined + return document.createTextNode("Knotenname") var content, caption var modelhash = model.split("").reduce(function(a, b) { @@ -418,7 +418,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"], try { config.hwImg.forEach(function(hwImg) { try { - top.appendChild(showNodeImg(hwImg, d.nodeinfo.hardware.model)) + top.appendChild(showNodeImg(hwImg, dictGet(d, ["nodeinfo", "hardware", "model"]))) } catch (err) { console.log(err.message) }