home: imp code
This commit is contained in:
parent
7bf8f0a516
commit
9df3c19aca
|
@ -485,10 +485,6 @@ func (clients *clientsContainer) handleSearchClient(w http.ResponseWriter, r *ht
|
||||||
data := []map[string]*clientJSON{}
|
data := []map[string]*clientJSON{}
|
||||||
for _, c := range q.Clients {
|
for _, c := range q.Clients {
|
||||||
idStr := c.ID
|
idStr := c.ID
|
||||||
if idStr == "" {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
data = append(data, map[string]*clientJSON{
|
data = append(data, map[string]*clientJSON{
|
||||||
idStr: clients.findClient(idStr),
|
idStr: clients.findClient(idStr),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue