Skip to content

Commit

Permalink
Fix pr template (go-gitea#27436) (go-gitea#27440)
Browse files Browse the repository at this point in the history
Backport go-gitea#27436 by @lunny

Fix go-gitea#27431

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
GiteaBot and lunny committed Oct 4, 2023
1 parent 1ff6b77 commit 51001d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/comments.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
{{end}}
</div>
</div>
{{$diff := (CommentMustAsDiff (index $comms 0))}}
{{$diff := (CommentMustAsDiff ctx (index $comms 0))}}
{{if $diff}}
{{$file := (index $diff.Files 0)}}
<div id="code-preview-{{(index $comms 0).ID}}" class="ui table segment{{if $resolved}} gt-hidden{{end}}">
Expand Down

0 comments on commit 51001d9

Please sign in to comment.