mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 08:53:14 +00:00
delete details choice in menu (#3239)
This commit is contained in:
@@ -25,7 +25,6 @@ const propTypes = {
|
||||
onRenameRepo: PropTypes.func.isRequired,
|
||||
onDeleteRepo: PropTypes.func.isRequired,
|
||||
onTransferRepo: PropTypes.func.isRequired,
|
||||
onRepoDetails: PropTypes.func.isRequired,
|
||||
onRepoClick: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
@@ -90,9 +89,6 @@ class MylibRepoListItem extends React.Component {
|
||||
case 'Folder Permission':
|
||||
// todo
|
||||
break;
|
||||
case 'Details':
|
||||
this.onRepoDetails();
|
||||
break;
|
||||
case 'Label current state':
|
||||
this.onLabel();
|
||||
break;
|
||||
@@ -146,10 +142,6 @@ class MylibRepoListItem extends React.Component {
|
||||
this.setState({isResetPasswordDialogShow: !this.state.isResetPasswordDialogShow});
|
||||
}
|
||||
|
||||
onRepoDetails = () => {
|
||||
this.props.onRepoDetails(this.props.repo);
|
||||
}
|
||||
|
||||
onLabel = () => {
|
||||
// todo
|
||||
}
|
||||
|
Reference in New Issue
Block a user