Skip to content

Commit

Permalink
Correção para aceitar ticket com setor definidos
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Jul 30, 2022
1 parent b1f347c commit 2af3ee6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/src/components/TicketListItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,16 @@ const TicketListItem = ({ ticket }) => {
</IconButton>
</Tooltip>
)}
{ticket.status === "pending" && ticket.queue !== null && (
<Tooltip title={i18n.t("ticketsList.items.accept")}>
<IconButton
className={classes.bottomButton}
color="primary"
onClick={e => handleAcepptTicket(ticket.id)} >
<DoneIcon />
</IconButton>
</Tooltip>
)}
{ticket.status === "pending" && (
<Tooltip title={i18n.t("ticketsList.items.spy")}>
<IconButton
Expand Down

0 comments on commit 2af3ee6

Please sign in to comment.