many fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-24 23:05:44 +11:00
parent d750033efd
commit a3de1b2b03
10 changed files with 207 additions and 37 deletions

View File

@@ -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)