From 09d737709031b56758f024ef9feabbafd9712cea Mon Sep 17 00:00:00 2001 From: sillyguodong <33891828+sillyguodong@users.noreply.github.com> Date: Wed, 22 Feb 2023 00:08:20 +0800 Subject: [PATCH] display attachments of review comment when comment content is blank (#23035) fix: #22647 --- 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 2a9631d86..8894a7ffd 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}}