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:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user