Skip to content
Snippets Groups Projects
Commit 40732187 authored by Isaac Evavold's avatar Isaac Evavold
Browse files

ROENROLL-1409

parent 5963f01d
No related branches found
No related tags found
No related merge requests found
...@@ -357,9 +357,9 @@ export function degreePlannerReducer( ...@@ -357,9 +357,9 @@ export function degreePlannerReducer(
const toYear = createYearWithCourse( const toYear = createYearWithCourse(
toTermCode, toTermCode,
course, { ...course, termCode: toTermCode.toString() },
state.activeTermCodes, state.activeTermCodes,
fromYearCode === toYearCode fromYearCode.equals(toYearCode)
? fromYear ? fromYear
: state.visibleYears[toYearCode.toString()], : state.visibleYears[toYearCode.toString()],
newIndex, newIndex,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment