1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

repair refresh bug and rename bug

This commit is contained in:
shanshuirenjia
2018-12-12 22:58:58 +08:00
parent a088b50514
commit c216f199a2
4 changed files with 14 additions and 9 deletions

View File

@@ -64,9 +64,6 @@ class App extends Component {
let href = window.location.href.split('/');
this.getDrafts();
this.setState({currentTab: href[href.length - 2]});
if (this.currentTab) {
this.setState({currentTab: this.currentTab});
}
}
getDrafts = () => {