Allow time ticket entry for RO jobs IO-741

This commit is contained in:
Patrick Fic
2021-03-04 09:28:04 -08:00
parent 17cb3d11eb
commit 92ee548713
5 changed files with 26 additions and 21 deletions

View File

@@ -27,11 +27,7 @@ export function JobsDetailLaborContainer({
return (
<div>
{techConsole ? null : (
<TimeTicketEnterButton
disabled={jobRO}
actions={{ refetch }}
context={{ jobId: jobId }}
>
<TimeTicketEnterButton actions={{ refetch }} context={{ jobId: jobId }}>
{t("timetickets.actions.enter")}
</TimeTicketEnterButton>
)}