Update pkg/web/routes/issue_detail.templ

remove deleteURL as its not used after removing the delete issues button

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
viljarb0
2026-03-06 17:48:43 +01:00
committed by GitHub
parent e85b123463
commit 9357ee1ba2

View File

@@ -21,11 +21,9 @@ templ IssueDetailContent(props IssueDetailProps) {
{{ {{
backURL := "/" backURL := "/"
editURL := "/issues/" + props.Issue.ID + "/edit" editURL := "/issues/" + props.Issue.ID + "/edit"
deleteURL := "/issues/" + props.Issue.ID
if props.From == "board" { if props.From == "board" {
backURL = "/?board=true" backURL = "/?board=true"
editURL += "?from=board" editURL += "?from=board"
deleteURL += "?from=board"
} }
}} }}
<div class="max-w-2xl mx-auto"> <div class="max-w-2xl mx-auto">