mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
delete details choice in menu (#3239)
This commit is contained in:
@@ -31,7 +31,6 @@ const propTypes = {
|
||||
onItemRename: PropTypes.func.isRequired,
|
||||
onItemMove: PropTypes.func.isRequired,
|
||||
onItemCopy: PropTypes.func.isRequired,
|
||||
onItemDetails: PropTypes.func.isRequired,
|
||||
onDirentClick: PropTypes.func.isRequired,
|
||||
updateDirent: PropTypes.func.isRequired,
|
||||
showImagePopup: PropTypes.func.isRequired,
|
||||
@@ -242,9 +241,6 @@ class DirentListItem extends React.Component {
|
||||
case 'Permission':
|
||||
this.onPermissionItem();
|
||||
break;
|
||||
case 'Details':
|
||||
this.onDetailsItem();
|
||||
break;
|
||||
case 'Unlock':
|
||||
this.onUnlockItem();
|
||||
break;
|
||||
@@ -298,10 +294,6 @@ class DirentListItem extends React.Component {
|
||||
|
||||
}
|
||||
|
||||
onDetailsItem = () => {
|
||||
this.props.onItemDetails(this.props.dirent);
|
||||
}
|
||||
|
||||
onLockItem = () => {
|
||||
let repoID = this.props.repoID;
|
||||
let filePath = this.getDirentPath(this.props.dirent);
|
||||
|
Reference in New Issue
Block a user