Disable missing data message

This commit is contained in:
Eduard Urbach 2018-11-23 09:39:09 +09:00
parent 7aea0e59e7
commit 385abe4127

View File

@ -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, "", "")