From 9df3c19acad16203ccaa7752902bce8bc835c8fb Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Mon, 16 Dec 2024 19:11:43 +0300 Subject: [PATCH] home: imp code --- internal/home/clientshttp.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/home/clientshttp.go b/internal/home/clientshttp.go index 0e6be245..2971dfea 100644 --- a/internal/home/clientshttp.go +++ b/internal/home/clientshttp.go @@ -485,10 +485,6 @@ func (clients *clientsContainer) handleSearchClient(w http.ResponseWriter, r *ht data := []map[string]*clientJSON{} for _, c := range q.Clients { idStr := c.ID - if idStr == "" { - break - } - data = append(data, map[string]*clientJSON{ idStr: clients.findClient(idStr), })