Use resolved data if gateway was already resolved (#78)
This is now very dirty, I think the old approach was better (although it requires a server side change)
This commit is contained in:
parent
7e6d054e98
commit
44bb8e9d3d
|
@ -317,6 +317,9 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"],
|
|||
if (!d)
|
||||
return null
|
||||
|
||||
if (d.node || d.id)
|
||||
return d
|
||||
|
||||
var node = nodeDict[d.substr(0, 8)]
|
||||
if (!node)
|
||||
return d
|
||||
|
|
|
@ -155,6 +155,12 @@ define(["chroma-js", "virtual-dom", "numeral-intl", "filters/genericnode", "verc
|
|||
if (d === null)
|
||||
return null
|
||||
|
||||
if (d.node)
|
||||
return d.node.nodeinfo.hostname
|
||||
|
||||
if (d.id)
|
||||
return d.id
|
||||
|
||||
var n = nodeDict[d.substr(0, 8)]
|
||||
if (!n)
|
||||
return d
|
||||
|
@ -169,6 +175,12 @@ define(["chroma-js", "virtual-dom", "numeral-intl", "filters/genericnode", "verc
|
|||
if (d === null)
|
||||
return null
|
||||
|
||||
if (d.node)
|
||||
return d.node.nodeinfo.hostname
|
||||
|
||||
if (d.id)
|
||||
return d.id
|
||||
|
||||
var n = nodeDict[d.substr(0, 8)]
|
||||
if (!n)
|
||||
return d
|
||||
|
|
Loading…
Reference in a new issue