From 9ae12687e6a9cb195717fc053292a9f99f6c404b 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> (cherry picked from commit bbfd34575a1b41d6c65dac34094502561296fa8f) --- 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}}