client/app/bundles/course/assessment/submission/components/FileInput.jsx
Function render
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const {
disabled,
fieldState: { error },
field: { value },
- Create a ticketCreate a ticket
Function FileInputField
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const FileInputField = (props) => {
const {
disabled,
isMultipleAttachmentsAllowed,
maxAttachmentsAllowed,
- Create a ticketCreate a ticket
Function displayFileNames
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
displayFileNames(files) {
const { disabled } = this.props;
const { dropzoneActive } = this.state;
if (dropzoneActive) {
return <FileUpload style={{ width: 60, height: 60 }} />;
- Create a ticketCreate a ticket