pagination count fix on change page size
This commit is contained in:
@@ -6,6 +6,7 @@ export const currentViewActionTypes = {
|
||||
SETREPRESENTATIONSUBMIT: "SETREPRESENTATIONSUBMIT",
|
||||
SETREPRESENTATIONSUBMITCONFIRMATION: "SETREPRESENTATIONSUBMITCONFIRMATION",
|
||||
SETCURRENTLINKEDCASES: "SETCURRENTLINKEDCASES",
|
||||
SETCURRENTPAGE: "SETCURRENTPAGE",
|
||||
};
|
||||
|
||||
export const getCurrentViewObj = () => (dispatch) => {
|
||||
@@ -64,3 +65,10 @@ export const setCurrentLinkedCases = (linkedCaseReferences) => (dispatch) => {
|
||||
linkedCaseReferences: linkedCaseReferences,
|
||||
});
|
||||
};
|
||||
|
||||
export const setCurrentPage = (currentPage) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: currentViewActionTypes.SETCURRENTPAGE,
|
||||
currentPage: currentPage,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user