working page pagination controls

This commit is contained in:
Alexander Wong
2018-04-22 18:23:43 -06:00
parent dac6daa933
commit 0950f264e8
7 changed files with 153 additions and 39 deletions

View File

@@ -1,4 +1,7 @@
import { CREATE_MULTIPLE_CSHIFT_REQUEST } from "../../constants/cShift.constants";
import {
CREATE_MULTIPLE_CSHIFT_REQUEST,
GET_CSHIFTS_REQUEST
} from "../../constants/cShift.constants";
/**
* Saga action for creating a list of shifts
@@ -10,3 +13,10 @@ export function createMultipleCShiftRequest(postBodies) {
data: postBodies
};
}
export function getCShiftsRequest(params) {
return {
type: GET_CSHIFTS_REQUEST,
data: params
};
}