1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

update-file-type

This commit is contained in:
yinjianfei
2024-01-08 10:55:34 +08:00
parent 4bb038656f
commit 6ee3992064
2 changed files with 8 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ class CreateFile extends React.Component {
isMarkdownDraft: false,
isSdocDraft: false,
errMessage: '',
isSubmitBtnActive: false,
isSubmitBtnActive: props.fileType.slice(0, -5) ? true : false,
};
this.newInput = React.createRef();
}