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
|
else if parent.TypeName() != "Group" || parent.(*arn.Group).FindMember(user.ID) != nil
|
||||||
NewPostArea(parent, user, "Comment")
|
NewPostArea(parent, user, "Comment")
|
||||||
|
|
||||||
if parent.CountPosts() == 0
|
//- if parent.CountPosts() == 0
|
||||||
p.no-data.mountable No comments have been written yet.
|
//- p.no-data.mountable No comments have been written yet.
|
||||||
else
|
//- else
|
||||||
each post in parent.PostsRelevantFirst(5)
|
each post in parent.PostsRelevantFirst(5)
|
||||||
Postable(post, user, true, "", "")
|
Postable(post, user, true, "", "")
|
Loading…
Reference in New Issue
Block a user