mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
Onclick action.
This commit is contained in:
@@ -76,9 +76,10 @@ const getActionButton = (action, i, props) => {
|
||||
<div>
|
||||
<Button
|
||||
{...props.author.get('status') === 'banned' ? 'disabled' : 'raised'}
|
||||
cStyle="black"
|
||||
onClick={props.cancelBan}
|
||||
key={i}>
|
||||
cStyle="black"
|
||||
onClick={props.showBanUserDialog}
|
||||
key={i}
|
||||
{...this.props} >
|
||||
{lang.t('comment.ban_user')}
|
||||
</Button>
|
||||
<BanUserDialog
|
||||
|
||||
Reference in New Issue
Block a user