added some checks for bugs

This commit is contained in:
jfrye122
2023-05-19 15:48:44 -04:00
parent 05e3613db9
commit 4dc054b1e3
6 changed files with 133 additions and 44 deletions

View File

@@ -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,
})
);