READ ISSUES - WEB

This commit is contained in:
Ine Maria Nilssen Aanonsen
2026-02-23 13:51:42 +01:00
parent 2e4185e30f
commit d1ef4e9491
10 changed files with 202 additions and 92 deletions

View File

@@ -11,7 +11,8 @@ import templruntime "github.com/a-h/templ/runtime"
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
type IndexProps struct {
IssueTable components.IssueTableProps
IssueTable components.IssueTableProps
SearchQuery string
}
func IndexContent(props IndexProps) templ.Component {
@@ -103,7 +104,7 @@ func Index(props IndexProps) templ.Component {
}
return nil
})
templ_7745c5c3_Err = BaseLayout().Render(templ.WithChildren(ctx, templ_7745c5c3_Var3), templ_7745c5c3_Buffer)
templ_7745c5c3_Err = BaseLayout(BaseLayoutProps{SearchQuery: props.SearchQuery}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var3), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}