update files
This commit is contained in:
@@ -13,18 +13,13 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
});
|
||||
|
||||
export function ClockedinListItem({ setTmTicketJobIdRedux, ticket }) {
|
||||
// console.log("ClockedinListItem, ticket:",ticket);
|
||||
const { t } = useTranslation();
|
||||
const navigation = useNavigation();
|
||||
|
||||
const makeNavToTimeTicketClockOff = () => (
|
||||
// console.log("makeNavToTimeTicketClockOff, checkHasDispatchCall:",setTmTicketJobIdRedux),
|
||||
setTmTicketJobIdRedux(ticket.job.id),
|
||||
navigation.navigate("TimeTicketClockOff", {
|
||||
// jobId: ticket.jobid, //item.id,
|
||||
timeTicketId:ticket.id,
|
||||
// handleOnDone:handleRefresh,
|
||||
//completedCallback: refetch,
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user