|
|
|
|
@ -5,6 +5,7 @@
|
|
|
|
|
import consts from 'consts';
|
|
|
|
|
import { AnnotationActionTypes } from 'actions/annotation-actions';
|
|
|
|
|
import { ReviewActionTypes } from 'actions/review-actions';
|
|
|
|
|
import { AuthActionTypes } from 'actions/auth-actions';
|
|
|
|
|
import { ReviewState } from './interfaces';
|
|
|
|
|
|
|
|
|
|
const defaultState: ReviewState = {
|
|
|
|
|
@ -184,6 +185,10 @@ export default function (state: ReviewState = defaultState, action: any): Review
|
|
|
|
|
issuesHidden: hidden,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
case AnnotationActionTypes.CLOSE_JOB:
|
|
|
|
|
case AuthActionTypes.LOGOUT_SUCCESS: {
|
|
|
|
|
return { ...defaultState };
|
|
|
|
|
}
|
|
|
|
|
default:
|
|
|
|
|
return state;
|
|
|
|
|
}
|
|
|
|
|
|