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:
Marvin W 2016-12-10 11:45:21 +01:00 committed by PetaByteBoy // Milan Pässler
commit 44bb8e9d3d
2 changed files with 15 additions and 0 deletions

View file

@ -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