wongjiahau/ttap-web

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

Summary

Maintainability
A
1 hr
Test Coverage

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

  protected GenerateNewState(state: IMasterState): IMasterState {
    if (
      state.TimetableListState.ShowingAlternateSlotOf &&
      this.slot.Uid !== state.TimetableListState.ShowingAlternateSlotOf.Uid
    ) {
Severity: Minor
Found in src/ts/redux/actions/showAlternateSlot.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status