mirror of
https://github.com/wassname/talk.git
synced 2026-08-08 11:28:12 +08:00
Added restricted wrapper
This commit is contained in:
@@ -248,8 +248,10 @@ class CommentStream extends Component {
|
||||
</TabContent>
|
||||
<TabContent show={activeTab === 2}>
|
||||
<h3>{status === 'open' ? 'Close' : 'Open'} Comment Stream</h3>
|
||||
<CloseCommentsInfo onClick={this.toggleStatus}
|
||||
status={status} />
|
||||
<RestrictedContent restricted={!loggedIn}>
|
||||
<CloseCommentsInfo onClick={this.toggleStatus}
|
||||
status={status} />
|
||||
</RestrictedContent>
|
||||
</TabContent>
|
||||
</RestrictedContent>
|
||||
<Notification
|
||||
|
||||
Reference in New Issue
Block a user