mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 03:41:12 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -83,7 +83,7 @@ class DirOperationToolbar extends React.Component {
|
||||
this.setState({isUploadMenuShow: false});
|
||||
this.props.onUploadFile(e);
|
||||
}
|
||||
|
||||
|
||||
onUploadFolder = (e) => {
|
||||
this.setState({isUploadMenuShow: false});
|
||||
this.props.onUploadFolder(e);
|
||||
@@ -241,7 +241,7 @@ class DirOperationToolbar extends React.Component {
|
||||
)}
|
||||
{this.state.isShareDialogShow &&
|
||||
<ModalPortal>
|
||||
<ShareDialog
|
||||
<ShareDialog
|
||||
itemType={itemType}
|
||||
itemName={itemName}
|
||||
itemPath={this.props.path}
|
||||
|
Reference in New Issue
Block a user