Disable missing data message
This commit is contained in:
parent
7aea0e59e7
commit
385abe4127
@ -8,8 +8,8 @@ component Comments(parent arn.PostParent, user *arn.User)
|
||||
else if parent.TypeName() != "Group" || parent.(*arn.Group).FindMember(user.ID) != nil
|
||||
NewPostArea(parent, user, "Comment")
|
||||
|
||||
if parent.CountPosts() == 0
|
||||
p.no-data.mountable No comments have been written yet.
|
||||
else
|
||||
//- if parent.CountPosts() == 0
|
||||
//- p.no-data.mountable No comments have been written yet.
|
||||
//- else
|
||||
each post in parent.PostsRelevantFirst(5)
|
||||
Postable(post, user, true, "", "")
|
Loading…
Reference in New Issue
Block a user