mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 03:41:12 +00:00
remove comment (#5650)
* remove comment * remove useless third party lib * remove comment
This commit is contained in:
@@ -166,9 +166,6 @@ class DirentGridView extends React.Component {
|
||||
case 'Unmark as draft':
|
||||
this.onUnmarkAsDraft(currentObject);
|
||||
break;
|
||||
case 'Comment':
|
||||
this.onCommentItem();
|
||||
break;
|
||||
case 'History':
|
||||
this.onHistory(currentObject);
|
||||
break;
|
||||
@@ -303,10 +300,6 @@ class DirentGridView extends React.Component {
|
||||
});
|
||||
};
|
||||
|
||||
onCommentItem = () => {
|
||||
this.props.showDirentDetail('comments');
|
||||
};
|
||||
|
||||
onHistory = (currentObject) => {
|
||||
let repoID = this.props.repoID;
|
||||
let filePath = this.getDirentPath(currentObject);
|
||||
|
Reference in New Issue
Block a user