mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Reverting
This commit is contained in:
@@ -52,13 +52,13 @@ class ModerationQueue extends React.Component {
|
||||
|
||||
// Dispatch the appropiate action
|
||||
onAction (status, id) {
|
||||
switch(status){
|
||||
case 'banned':
|
||||
this.props.dispatch(updateUserStatus(status, id));
|
||||
break;
|
||||
default:
|
||||
this.props.dispatch(updateStatus(status, id));
|
||||
}
|
||||
// switch(status){
|
||||
// case 'banned':
|
||||
// this.props.dispatch(updateUserStatus(status, id));
|
||||
// break;
|
||||
// default:
|
||||
this.props.dispatch(updateStatus(status, id));
|
||||
//}
|
||||
}
|
||||
|
||||
// Dispatch the update comment status action
|
||||
|
||||
Reference in New Issue
Block a user