dev_oauth
hjm 6 years ago
parent 09ef9987ea
commit b809bb4467

@ -329,6 +329,10 @@ class Collaborators extends Component {
let id = this.props.match.params.shixunId;
let url = "/shixuns/" + id + "/collaborators_delete.json?user_id=" + collaborators_deletevalue;
axios.delete(url).then((response) => {
if (this.props.current_user.user_id == collaborators_deletevalue) {
this.props.history.push('/shixuns')
return;
}
this.props.showSnackbar(response.data.message);
this.updatacomponentDiddata();
this.setState({

Loading…
Cancel
Save