diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index 86ce6148c1..f1ec8a9da0 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -459,7 +459,7 @@
 									</button>
 								{{end}}
 								<a href="{{(index $comms 0).CodeCommentURL}}" class="file-comment">{{$filename}}</a>
-								{{if and $invalid (not $resolved)}}
+								{{if $invalid }}
 									<span class="tag">
 										{{$.i18n.Tr "repo.issues.review.outdated"}}
 									</span>