added in documents for case and onlu published
This commit is contained in:
@@ -3,6 +3,8 @@ export const searchResultsActionTypes = {
|
||||
SETSEARCHRESULTS: "SETSEARCHRESULTS",
|
||||
UPDATESEARCHRESULTS: "UPDATESEARCHRESULTS",
|
||||
SETSEARCHDETAILS: "SETSEARCHDETAILS",
|
||||
SETDOCUMENTDETAILS: "SETDOCUMENTDETAILS",
|
||||
SETDOCUMENTHISTORY: "SETDOCUMENTHISTORY",
|
||||
};
|
||||
|
||||
export const getSearchResultshObj = () => (dispatch) => {
|
||||
@@ -24,3 +26,16 @@ export const setSearchDetails = (searchDetails) => (dispatch) => {
|
||||
searchDetailsObj: searchDetails,
|
||||
});
|
||||
};
|
||||
export const setDocumentDetails = (documentDetails) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: searchResultsActionTypes.SETDOCUMENTDETAILS,
|
||||
documentDetailsObj: documentDetails,
|
||||
});
|
||||
};
|
||||
|
||||
export const setDocumentHistory = (documentHistory) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: searchResultsActionTypes.SETDOCUMENTHISTORY,
|
||||
documentHistoryObj: documentHistory,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user