Skip to content

Commit

Permalink
Fix pr template (go-gitea#27436)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Oct 4, 2023
1 parent 74763f5 commit dd221b9
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 dd221b9

Please sign in to comment.