client/app/bundles/course/admin/pages/LessonPlanSettings/index.jsx
Function renderLessonPlanItemAssessmentSettingsTable
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderLessonPlanItemAssessmentSettingsTable() {
const { lessonPlanItemSettings } = this.props;
const assessmentItemSettings = lessonPlanItemSettings.filter(
(setting) => setting.component === 'course_assessments_component',
);
- Create a ticketCreate a ticket
Function renderLessonPlanItemSettingsForComponentsTable
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderLessonPlanItemSettingsForComponentsTable() {
const { lessonPlanItemSettings } = this.props;
const componentItemSettings = lessonPlanItemSettings.filter((setting) =>
['course_videos_component', 'course_survey_component'].includes(
setting.component,
- Create a ticketCreate a ticket