require auth for replies on web
This commit is contained in:
parent
c21015b84f
commit
8f5ac8263d
1 changed files with 7 additions and 1 deletions
|
@ -212,7 +212,13 @@ function Comment(props: Props) {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{!parentId && (
|
{!parentId && (
|
||||||
<Button button="link" className="comment__reply-button" onClick={handleReply} label={__('Reply')} />
|
<Button
|
||||||
|
button="link"
|
||||||
|
requiresAuth={IS_WEB}
|
||||||
|
className="comment__reply-button"
|
||||||
|
onClick={handleReply}
|
||||||
|
label={__('Reply')}
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
<div>
|
<div>
|
||||||
{isReplying ? (
|
{isReplying ? (
|
||||||
|
|
Loading…
Add table
Reference in a new issue