BACKLOG REFINEMENT removed duplicate close issue button
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user