From ff104fb16a4d439928b8da23ecf33d8bfd894e7e Mon Sep 17 00:00:00 2001 From: plt Date: Fri, 21 Dec 2018 12:50:36 +0800 Subject: [PATCH] Remove unused code --- .../src/components/cur-dir-path/dir-tool.js | 27 ------------------- 1 file changed, 27 deletions(-) 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;