mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 13:24:52 +00:00
Remove unused code
This commit is contained in:
@@ -64,15 +64,6 @@ class DirTool extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
onCreateRepoTagPopupToggle = () => {
|
|
||||||
this.setState({
|
|
||||||
isCreateRepoTagShow: !this.state.isCreateRepoTagShow,
|
|
||||||
isTagDialogShow: !this.state.isTagDialogShow
|
|
||||||
});
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
onUpdateRepoTagToggle = (currentTag) => {
|
onUpdateRepoTagToggle = (currentTag) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
currentTag: currentTag,
|
currentTag: currentTag,
|
||||||
@@ -81,15 +72,6 @@ class DirTool extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
onUpdateRepoTagPopupToggle = () => {
|
|
||||||
this.setState({
|
|
||||||
isUpdateRepoTagShow: !this.state.isUpdateRepoTagShow,
|
|
||||||
isTagDialogShow: !this.state.isTagDialogShow
|
|
||||||
});
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
onListTaggedFileToggle = (currentTag) => {
|
onListTaggedFileToggle = (currentTag) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
currentTag: currentTag,
|
currentTag: currentTag,
|
||||||
@@ -98,15 +80,6 @@ class DirTool extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
onListTaggedFilePopupToggle = () => {
|
|
||||||
this.setState({
|
|
||||||
isListTaggedFileShow: !this.state.isListTaggedFileShow,
|
|
||||||
isTagDialogShow: !this.state.isTagDialogShow
|
|
||||||
});
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
isMarkdownFile(filePath) {
|
isMarkdownFile(filePath) {
|
||||||
let name = Utils.getFileName(filePath);
|
let name = Utils.getFileName(filePath);
|
||||||
return name.indexOf('.md') > -1 ? true : false;
|
return name.indexOf('.md') > -1 ? true : false;
|
||||||
|
Reference in New Issue
Block a user