client/app/bundles/course/assessment/submission/containers/PastAnswers.jsx
Function renderPastAnswerSelect
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderPastAnswerSelect() {
const {
answers,
answerIds,
selectedAnswerIds,
- Create a ticketCreate a ticket
Function getAnswersHistory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getAnswersHistory(question, answer) {
const { intl } = this.props;
switch (question.type) {
case questionTypes.Programming:
return <PastProgrammingAnswer answer={answer} question={question} />;
- Create a ticketCreate a ticket