Skip to content

Commit dd221b9

Browse files
authored
Fix pr template (#27436)
Fix #27431
1 parent 74763f5 commit dd221b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
{{end}}
497497
</div>
498498
</div>
499-
{{$diff := (CommentMustAsDiff (index $comms 0))}}
499+
{{$diff := (CommentMustAsDiff ctx (index $comms 0))}}
500500
{{if $diff}}
501501
{{$file := (index $diff.Files 0)}}
502502
<div id="code-preview-{{(index $comms 0).ID}}" class="ui table segment{{if $resolved}} gt-hidden{{end}}">

0 commit comments

Comments
 (0)