Skip to content

Commit

Permalink
VKT(Frontend): Reseting examinerDetails should not reset stored oid, …
Browse files Browse the repository at this point in the history
…as it's needed to ensure functionality across examiner views [deploy]
  • Loading branch information
pkoivisto committed Jan 8, 2025
1 parent aba0e2f commit 519d269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/packages/vkt/src/redux/reducers/examinerDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const examinerDetailsSlice = createSlice({
) {
state.examEventFilters.toggleFilter = action.payload;
},
resetExaminerDetailsToInitialState(_state) {
return initialState;
resetExaminerDetailsToInitialState(state) {
return { ...initialState, oid: state.oid };
},
},
});
Expand Down

0 comments on commit 519d269

Please sign in to comment.