This commit is contained in:
@@ -44,7 +44,7 @@ func (h *Handler) RenderIncidentTable(w http.ResponseWriter, r *http.Request) {
|
||||
func ConvertIncidentList(list []queries.GetIncidentReportRow) []views.IncidentRow {
|
||||
rows := make([]views.IncidentRow, 0, len(list))
|
||||
for _, in := range list {
|
||||
//prettyPrint(in)
|
||||
prettyPrint(in)
|
||||
var row views.IncidentRow
|
||||
utils.ConvertStruct(in, &row)
|
||||
rows = append(rows, row)
|
||||
|
Reference in New Issue
Block a user