1
0
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:
Michael An
2019-04-11 11:13:36 +08:00
committed by Daniel Pan
parent b54bea4ecb
commit aea14dd74a
10 changed files with 7 additions and 51 deletions

View File

@@ -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
}