mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-17 16:52:09 +00:00
delete create-file code
This commit is contained in:
parent
dceb0a5e5b
commit
31bf2fd41f
@ -58,21 +58,6 @@ class DirentGridView extends React.Component{
|
|||||||
dirent: '',
|
dirent: '',
|
||||||
}
|
}
|
||||||
this.isRepoOwner = props.currentRepoInfo.owner_email === username;
|
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 = () => {
|
onMoveToggle = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user