diff --git a/models/nodes.go b/models/nodes.go index d3a4ad6..27f2c7b 100644 --- a/models/nodes.go +++ b/models/nodes.go @@ -102,6 +102,11 @@ func (nodes *Nodes) GetNodesMini() *meshviewer.Nodes { for nodeID := range nodes.List { node, _ := meshviewerNodes.List[nodeID] nodeOrigin := nodes.List[nodeID] + + if nodeOrigin.Statistics == nil { + continue + } + if node == nil { node = &meshviewer.Node{ Firstseen: nodeOrigin.Firstseen,