Fixed story chapter comment permission check not allowing other users to comment.
the build was successful

This commit is contained in:
2019-03-20 21:02:28 +01:00
parent 3a057f6f24
commit 5c4446f161
@@ -27,7 +27,8 @@
user=input.user
on-open("onOpenComment", comment)
/>
<if-permitted if(input.chapter.canComment) user=input.user author=input.chapter.author permission="chapter.edit">
<if-permitted if(input.chapter.canComment) user=input.user permission=["member", "chapter.edit"]>
<div class="add-comment color-menu" on-click("open", "addComment") >Add ${state.commentLabels[input.chapter.commentMode] || "Comment"}</div>
</if-permitted>
</div>