added parts for last 3 calls
This commit is contained in:
@@ -16,6 +16,7 @@ import { UPDATE_TIME_TICKET } from "../../graphql/timetickets.queries";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { selectCurrentTmTicketJobId } from "../../redux/app/app.selectors";
|
||||
import ErrorDisplay from "../error-display/error-display.component";
|
||||
import { timeTicketClockOutStart } from "../../redux/timetickets/timetickets.actions";
|
||||
// import { selectCurrentTimeTicketJobId } from "../../redux/timetickets/timetickets.selectors";
|
||||
|
||||
//TODO add props needed for call
|
||||
@@ -26,7 +27,9 @@ const mapStateToProps = createStructuredSelector({
|
||||
currentTmTicketJobId: selectCurrentTmTicketJobId,
|
||||
// currentJobId: selectCurrentTimeTicketJobId
|
||||
});
|
||||
// const mapDispatchToProps = (dispatch) => ({});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
timeTicketClockOutStart
|
||||
});
|
||||
|
||||
export function TimeTicketClockOff({
|
||||
currentEmployee,
|
||||
|
||||
Reference in New Issue
Block a user