diff --git a/frontend/src/components/cur-dir-path/dir-tool.js b/frontend/src/components/cur-dir-path/dir-tool.js index 20d16fa591..79b17432be 100644 --- a/frontend/src/components/cur-dir-path/dir-tool.js +++ b/frontend/src/components/cur-dir-path/dir-tool.js @@ -64,15 +64,6 @@ class DirTool extends React.Component { }); } - /* - onCreateRepoTagPopupToggle = () => { - this.setState({ - isCreateRepoTagShow: !this.state.isCreateRepoTagShow, - isTagDialogShow: !this.state.isTagDialogShow - }); - } - */ - onUpdateRepoTagToggle = (currentTag) => { this.setState({ currentTag: currentTag, @@ -81,15 +72,6 @@ class DirTool extends React.Component { }); } - /* - onUpdateRepoTagPopupToggle = () => { - this.setState({ - isUpdateRepoTagShow: !this.state.isUpdateRepoTagShow, - isTagDialogShow: !this.state.isTagDialogShow - }); - } - */ - onListTaggedFileToggle = (currentTag) => { this.setState({ currentTag: currentTag, @@ -98,15 +80,6 @@ class DirTool extends React.Component { }); } - /* - onListTaggedFilePopupToggle = () => { - this.setState({ - isListTaggedFileShow: !this.state.isListTaggedFileShow, - isTagDialogShow: !this.state.isTagDialogShow - }); - } - */ - isMarkdownFile(filePath) { let name = Utils.getFileName(filePath); return name.indexOf('.md') > -1 ? true : false;