src/ts/redux/actions/toggleSelectionOnGroupOfSlots.ts
Function GenerateNewState
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected GenerateNewState(state: IMasterState): IMasterState {
const targetSubject = find(state.SubjectListState.Subjects, {
Code: this.subjectCode,
}) as Subject;
let selectedSlotsCount = 0;