added some checks for bugs
This commit is contained in:
@@ -11,8 +11,8 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
setTmTicketJobIdRedux: (jobId) => dispatch(setTmTicketJobId(jobId)),
|
||||
});
|
||||
|
||||
export function ClockedinListItem({ setTmTicketJobIdRedux, ticket, handleRefresh }) {
|
||||
console.log("makeNavToTimeTicketClockOff, handleRefresh:",handleRefresh);
|
||||
export function ClockedinListItem({ setTmTicketJobIdRedux, ticket }) {
|
||||
console.log("makeNavToTimeTicketClockOff, handleRefresh:");
|
||||
const { t } = useTranslation();
|
||||
const navigation = useNavigation();
|
||||
|
||||
@@ -22,7 +22,7 @@ export function ClockedinListItem({ setTmTicketJobIdRedux, ticket, handleRefresh
|
||||
navigation.navigate("TimeTicketClockOff", {
|
||||
// jobId: ticket.jobid, //item.id,
|
||||
timeTicketId:ticket.id,
|
||||
handleOnDone:handleRefresh,
|
||||
// handleOnDone:handleRefresh,
|
||||
//completedCallback: refetch,
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user