adjust layout and add detials button
This commit is contained in:
@@ -219,7 +219,7 @@ func IssueForm(props IssueFormProps) templ.Component {
|
||||
}
|
||||
|
||||
type IssueTableProps struct {
|
||||
Issues []models.Issue
|
||||
Issues []*models.Issue
|
||||
}
|
||||
|
||||
func IssueTable(props IssueTableProps) templ.Component {
|
||||
@@ -263,7 +263,7 @@ func IssueTable(props IssueTableProps) templ.Component {
|
||||
})
|
||||
}
|
||||
|
||||
func IssueRows(issues []models.Issue) templ.Component {
|
||||
func IssueRows(issues []*models.Issue) templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
|
||||
if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user