mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 02:42:47 +00:00
update comment panel
This commit is contained in:
@@ -48,6 +48,7 @@ const propTypes = {
|
||||
getDirentItemMenuList: PropTypes.func.isRequired,
|
||||
onFileTagChanged: PropTypes.func,
|
||||
enableDirPrivateShare: PropTypes.bool.isRequired,
|
||||
showDirentDetail: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
class DirentListItem extends React.Component {
|
||||
@@ -210,7 +211,7 @@ class DirentListItem extends React.Component {
|
||||
this.onLockItem();
|
||||
break;
|
||||
case 'Comment':
|
||||
this.onComnentItem();
|
||||
this.props.showDirentDetail('comments');
|
||||
break;
|
||||
case 'History':
|
||||
this.onHistory();
|
||||
@@ -288,10 +289,6 @@ class DirentListItem extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
onComnentItem = () => {
|
||||
|
||||
}
|
||||
|
||||
onHistory = () => {
|
||||
let repoID = this.props.repoID;
|
||||
let filePath = this.getDirentPath(this.props.dirent);
|
||||
|
Reference in New Issue
Block a user