From dbf9f68538d37d9e81a39930fec4c6fdb7a74d8d Mon Sep 17 00:00:00 2001 From: Bereczki Sandor <bsandor453@gmail.com> Date: Sat, 23 Feb 2019 01:01:54 +0100 Subject: [PATCH] Description label name change --- src/components/forms/CorrectSolutionForm.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/forms/CorrectSolutionForm.js b/src/components/forms/CorrectSolutionForm.js index 8c16e82..b10efc6 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); -- GitLab