From bbfd34575a1b41d6c65dac34094502561296fa8f Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 21 Feb 2023 11:10:29 -0600 Subject: [PATCH] Display attachments of review comment when comment content is blank (#23035) (#23046) Backport #23035 Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com> --- 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 a9ceb084fd..8371427039 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -399,7 +399,7 @@ {{end}} - {{if .Content}} + {{if or .Content .Attachments}}