edit DiagsHistory in diags handlers
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m37s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m37s
This commit is contained in:
@@ -73,7 +73,9 @@ func (h *ApplicationHandler) DiagsHistory(w http.ResponseWriter, r *http.Request
|
||||
responses := []diagsstorage.Diag{}
|
||||
|
||||
for _, e := range resp.Diags {
|
||||
responses = append(responses, e.ToStorageType())
|
||||
if e.Deleted {
|
||||
responses = append(responses, e.ToStorageType())
|
||||
}
|
||||
}
|
||||
|
||||
h.Renderer.DiagsHistory(w, r, responses)
|
||||
|
||||
Reference in New Issue
Block a user