Skip to content

Commit 42a7f7a

Browse files
committed
fix
1 parent c0fc53e commit 42a7f7a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

models/issues/comment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func AsCommentType(typeName string) CommentType {
167167

168168
func (t CommentType) HasContentSupport() bool {
169169
switch t {
170-
case CommentTypeComment, CommentTypeCode, CommentTypeReview:
170+
case CommentTypeComment, CommentTypeCode, CommentTypeReview, CommentTypeDismissReview:
171171
return true
172172
}
173173
return false

templates/repo/issue/view_content/comments.tmpl

-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@
767767
<img src="{{.Poster.AvatarLink $.Context}}" width="40" height="40">
768768
</a>
769769
<span class="badge grey">{{svg "octicon-x" 16}}</span>
770-
{{template "shared/user/avatarlink" dict "Context" $.Context "user" .Poster}}
771770
<span class="text grey muted-links">
772771
{{template "shared/user/authorlink" .Poster}}
773772
{{$reviewerName := ""}}

0 commit comments

Comments
 (0)