diff --git a/src/components/forms/CorrectSolutionForm.js b/src/components/forms/CorrectSolutionForm.js index 8c16e82e051cb92e133b6df06a2e5e08aff29454..b10efc6e97f3e1b70c69cc2f8c0e6c5099d03f98 100644 --- a/src/components/forms/CorrectSolutionForm.js +++ b/src/components/forms/CorrectSolutionForm.js @@ -1,7 +1,12 @@ import React, { Component } from 'react'; import { Modal, Button, Icon, Checkbox, Form, TextArea, Header } from 'semantic-ui-react'; import { connect } from 'react-redux'; -import { correctSolution, writeSolution, check, clearWrite } from '../../actions/homework'; +import { correctSolution, + writeSolution, + check, + clearWrite, + getSolutions, + getDocuments } from '../../actions/homework'; class CorrectSolutionForm extends Component { constructor(props) { @@ -69,7 +74,7 @@ class CorrectSolutionForm extends Component { checked={this.props.correction.accepted} /> </Button> - <Header as='h5'>MegjegyzĂŠs:</Header> + <Header as='h5'>A feladat megoldĂĄsĂĄnak szĂśveges ĂŠrtĂŠkelĂŠse:</Header> <Form> <Form.Field control={TextArea} @@ -120,4 +125,6 @@ export default connect(mapStateToProps, { writeSolution, check, clearWrite, + getSolutions, + getDocuments, })(CorrectSolutionForm);