Onclick action.

This commit is contained in:
gaba
2016-12-01 13:11:44 -08:00
parent 15eb946f00
commit c83f8eb188
+4 -3
View File
@@ -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