From 6389f53ae38464cdc78756ab6b63a48bdd1e0a66 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 24 Mar 2025 23:08:05 +1100 Subject: [PATCH] bugfix subcategory --- components/views/incidents.templ | 4 ++-- components/views/incidents_templ.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/views/incidents.templ b/components/views/incidents.templ index 328bb60..5f6351d 100644 --- a/components/views/incidents.templ +++ b/components/views/incidents.templ @@ -20,7 +20,7 @@ type IncidentRow struct { AssignmentGroup string AssignedTo string Category string - Subcategory string + SubCategory string SysID string } @@ -71,7 +71,7 @@ templ IncidentsTable(rows []IncidentRow) { { row.AssignmentGroup } { row.AssignedTo } { row.Category } - { row.Subcategory } + { row.SubCategory } } diff --git a/components/views/incidents_templ.go b/components/views/incidents_templ.go index e728f4c..26432b9 100644 --- a/components/views/incidents_templ.go +++ b/components/views/incidents_templ.go @@ -28,7 +28,7 @@ type IncidentRow struct { AssignmentGroup string AssignedTo string Category string - Subcategory string + SubCategory string SysID string } @@ -248,7 +248,7 @@ func IncidentsTable(rows []IncidentRow) templ.Component { return templ_7745c5c3_Err } var templ_7745c5c3_Var15 string - templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(row.Subcategory) + templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(row.SubCategory) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `views/incidents.templ`, Line: 74, Col: 57} }