Skip to content

Commit d7e7aa6

Browse files
author
Martin Krulis
committed
Adding form in a modal for editing note of a solution.
1 parent acded8d commit d7e7aa6

File tree

11 files changed

+345
-162
lines changed

11 files changed

+345
-162
lines changed

src/components/Solutions/SolutionDetail/SolutionDetail.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class SolutionDetail extends Component {
4747
assignment,
4848
evaluations,
4949
runtimeEnvironments,
50+
editNote = null,
5051
deleteEvaluation = null,
5152
refreshSolutionEvaluations = null,
5253
} = this.props;
@@ -72,6 +73,7 @@ class SolutionDetail extends Component {
7273
userId={userId}
7374
submittedBy={submittedBy}
7475
note={note}
76+
editNote={editNote}
7577
accepted={accepted}
7678
reviewed={reviewed}
7779
assignment={assignment}
@@ -232,6 +234,7 @@ SolutionDetail.propTypes = {
232234
assignment: PropTypes.object.isRequired,
233235
evaluations: PropTypes.object.isRequired,
234236
runtimeEnvironments: PropTypes.array,
237+
editNote: PropTypes.func,
235238
deleteEvaluation: PropTypes.func,
236239
refreshSolutionEvaluations: PropTypes.func,
237240
};

0 commit comments

Comments
 (0)