forked from Gitlink/forgeplus-react
部分修改
This commit is contained in:
parent
5f360812c4
commit
52f559a384
|
|
@ -93,6 +93,9 @@ class Infos extends Component {
|
|||
|
||||
undo_link = () => {
|
||||
const {user} = this.state
|
||||
this.setState({
|
||||
route_type: undefined
|
||||
})
|
||||
this.props.history.push(`/users/${user && user.login}/undo_events`)
|
||||
}
|
||||
|
||||
|
|
@ -104,6 +107,9 @@ class Infos extends Component {
|
|||
|
||||
organize_link = () => {
|
||||
const {user} = this.state
|
||||
this.setState({
|
||||
route_type: undefined
|
||||
})
|
||||
this.props.history.push(`/users/${user && user.login}/organizes`)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue