From 00c62734bf5b8f0a4335eaded66d5ee604d7e12e 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 a9ceb084fdbc9..83714270399fb 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}}