mirror of
https://github.com/wassname/talk.git
synced 2026-07-16 11:22:16 +08:00
Add classes to tabbar, tab
This commit is contained in:
@@ -41,10 +41,10 @@ export default class Embed extends React.Component {
|
||||
return (
|
||||
<div>
|
||||
<div className="commentStream">
|
||||
<TabBar onChange={this.changeTab} activeTab={activeTab}>
|
||||
<Tab><Count count={totalCommentCount} /></Tab>
|
||||
<Tab>{t('framework.my_profile')}</Tab>
|
||||
<Tab restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
|
||||
<TabBar onChange={this.changeTab} activeTab={activeTab} cNames="tabbar">
|
||||
<Tab cNames={`comment-count`}><Count count={totalCommentCount} /></Tab>
|
||||
<Tab cNames={`my-comments`}>{t('framework.my_profile')}</Tab>
|
||||
<Tab cNames={`comment-configuration`} restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
|
||||
</TabBar>
|
||||
{commentId &&
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user