show login boolean in redux store
This commit is contained in:
@@ -10,6 +10,7 @@ export const currentViewActionTypes = {
|
||||
SETSHOWREPS: "SETSHOWREPS",
|
||||
SETREPRESENTATIONMESSAGESENT: "SETREPRESENTATIONMESSAGESENT",
|
||||
SETREPRESENTATIONRESET: "SETREPRESENTATIONRESET",
|
||||
SETSHOWLOGIN: "SETSHOWLOGIN",
|
||||
};
|
||||
|
||||
export const getCurrentViewObj = () => (dispatch) => {
|
||||
@@ -94,9 +95,10 @@ export const setCurrentPage = (currentPage) => (dispatch) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const setShowReps = (showReps) => (dispatch) => {
|
||||
export const setShowReps = (showReps, showLogin) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: currentViewActionTypes.SETSHOWREPS,
|
||||
showLogin: showLogin,
|
||||
showReps: showReps,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user