Trying to get the Dialog up.

This commit is contained in:
gaba
2016-12-01 13:05:10 -08:00
parent 443cd031d5
commit 15eb946f00
13 changed files with 269 additions and 66 deletions
@@ -57,6 +57,7 @@ class ModerationQueue extends React.Component {
// action = 'banned' in the case of banning
if (action === 'banned') {
this.props.dispatch(banUser(action, id, author_id));
this.props.dispatch(updateStatus('rejected', id));
}
// If not banning then change the status to approved or flagged as action = status