Added restricted wrapper

This commit is contained in:
Dan Zajdband
2016-12-05 17:02:21 -05:00
parent 62cc489c21
commit 568e46f1e3
@@ -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