generated from VLADIMIR/template
add all field to admin panel
This commit is contained in:
@@ -257,11 +257,25 @@ func (s *Services) GetGraph(ctx context.Context, req *proto.GetGraphReq) (*proto
|
||||
},
|
||||
)
|
||||
}
|
||||
doors := make([]*proto.GraphDoor, 0, len(node.Doors))
|
||||
for _, door := range node.Doors {
|
||||
doors = append(
|
||||
doors,
|
||||
&proto.GraphDoor{
|
||||
Code: door.Code,
|
||||
Name: door.Name,
|
||||
Show: door.Show,
|
||||
},
|
||||
)
|
||||
}
|
||||
nodes = append(nodes, &proto.GraphNode{
|
||||
Code: node.Code,
|
||||
Name: node.Name,
|
||||
Text: node.Text,
|
||||
Image: node.Image,
|
||||
Applications: applications,
|
||||
Hidden: node.Hidden,
|
||||
Doors: doors,
|
||||
})
|
||||
}
|
||||
edges := make([]*proto.GetGraphRsp_Edge, 0, len(graph.Edges))
|
||||
|
||||
Reference in New Issue
Block a user