BACKLOG REFINEMENT removed duplicate close issue button

This commit is contained in:
Ine Maria Nilssen Aanonsen
2026-03-19 06:56:29 +01:00
parent 45e95a287f
commit 925cf089be
4 changed files with 143 additions and 211 deletions

View File

@@ -47,17 +47,6 @@ templ IssueDetailContent(props IssueDetailProps) {
>
Edit
</button>
if props.Issue.Status != "closed" {
<button
type="button"
class="btn btn-warning btn-sm btn-outline"
hx-get={ "/issues/" + props.Issue.ID + "/close" }
hx-target="#modal-container"
hx-swap="innerHTML"
>
Close issue
</button>
}
</div>
<div id="issue-detail-container" class="mb-6">
@components.IssueDetail(components.IssueDetailProps{Issue: props.Issue})