mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
Modify some code structure
This commit is contained in:
@@ -116,6 +116,7 @@ class LibContentContainer extends React.Component {
|
||||
|
||||
onGridItemClick = (dirent) => {
|
||||
this.setState({currentDirent: dirent});
|
||||
this.props.onDirentClick(dirent);
|
||||
}
|
||||
|
||||
// on '<tr>'
|
||||
@@ -233,7 +234,6 @@ class LibContentContainer extends React.Component {
|
||||
onGridItemClick={this.onGridItemClick}
|
||||
isDirentDetailShow={this.props.isDirentDetailShow}
|
||||
onItemRename={this.props.onItemRename}
|
||||
onDirentClick={this.onDirentClick}
|
||||
/>
|
||||
)}
|
||||
{this.props.currentMode === 'column' && (
|
||||
|
Reference in New Issue
Block a user