forgot a file

This commit is contained in:
viljarb
2026-03-05 17:58:08 +01:00
parent e796ac8b79
commit edf8e4cfd8

View File

@@ -13,7 +13,7 @@ type IssueFormProps struct {
Title string
Description string
Status string
CloseReason string // Shown when status is "closed"
CloseReason string // Set when status is "closed"
Priority int
IssueType string
Class string
@@ -62,6 +62,7 @@ templ IssueForm(props IssueFormProps) {
Size: "md",
Attrs: templ.Attributes{"x-model": "status"},
})
// Show close reason input when status is closed; not adding close reason to db
if props.PatchAction != "" {
<div x-show="status === 'closed'" x-cloak>
@base.Textarea(base.TextareaProps{