mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
resove move file bug
This commit is contained in:
@@ -56,6 +56,9 @@ class DirColumnNav extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
componentWillReceiveProps(nextProps) {
|
||||||
|
if (!nextProps.currentNode) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.setState({opNode: nextProps.currentNode});
|
this.setState({opNode: nextProps.currentNode});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user