wongjiahau/ttap-web

View on GitHub
src/ts/redux/actions/toggleSelectionOnGroupOfSlots.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function GenerateNewState has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  protected GenerateNewState(state: IMasterState): IMasterState {
    const targetSubject = find(state.SubjectListState.Subjects, {
      Code: this.subjectCode,
    }) as Subject;
    let selectedSlotsCount = 0;
Severity: Minor
Found in src/ts/redux/actions/toggleSelectionOnGroupOfSlots.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status