1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-15 16:04:01 +00:00

delete create-file code

This commit is contained in:
zxj96 2019-04-19 12:01:47 +08:00
parent dceb0a5e5b
commit 31bf2fd41f

View File

@ -58,21 +58,6 @@ class DirentGridView extends React.Component{
dirent: '',
}
this.isRepoOwner = props.currentRepoInfo.owner_email === username;
}
onCreateFileToggle = () => {
this.setState({
isCreateFileDialogShow: !this.state.isCreateFileDialogShow,
fileType: ''
});
}
onCreateNewFile = (suffix) => {
this.setState({
isCreateFileDialogShow: !this.state.isCreateFileDialogShow,
fileType: suffix
});
}
onMoveToggle = () => {