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

@@ -3,7 +3,8 @@ package routes
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
type IndexProps struct {
IssueTable components.IssueTableProps
IssueTable components.IssueTableProps
SearchQuery string
}
templ IndexContent(props IndexProps) {
@@ -24,7 +25,7 @@ templ IndexContent(props IndexProps) {
}
templ Index(props IndexProps) {
@BaseLayout() {
@BaseLayout(BaseLayoutProps{SearchQuery: props.SearchQuery}) {
@IndexContent(props)
}
}