From 06df33be10364c4d2698636efa1176ecaa371644 Mon Sep 17 00:00:00 2001 From: Nanguan Lin <70063547+lng2020@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:36:13 +0800 Subject: [PATCH] Revert "Fix pr template (#27436) (#27440)" This reverts commit 51001d9ffed27b871acb1b1c27f4090b3dbb026d. --- templates/repo/issue/view_content/comments.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index d3fe424b84d1e..714701939fa2d 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -496,7 +496,7 @@ {{end}} - {{$diff := (CommentMustAsDiff ctx (index $comms 0))}} + {{$diff := (CommentMustAsDiff (index $comms 0))}} {{if $diff}} {{$file := (index $diff.Files 0)}}