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
NewPostArea(parent, user, "Comment")
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, "", "")
//- 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, "", "")