From 2af3ee6b51346087a8be3b7b943faab5aa7386cd Mon Sep 17 00:00:00 2001 From: Robson Tenorio Date: Sat, 30 Jul 2022 01:26:29 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20para=20aceitar=20ticket=20?= =?UTF-8?q?com=20setor=20definidos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/TicketListItem/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/src/components/TicketListItem/index.js b/frontend/src/components/TicketListItem/index.js index 536046b4..6d6dfe16 100644 --- a/frontend/src/components/TicketListItem/index.js +++ b/frontend/src/components/TicketListItem/index.js @@ -329,6 +329,16 @@ const TicketListItem = ({ ticket }) => { )} + {ticket.status === "pending" && ticket.queue !== null && ( + + handleAcepptTicket(ticket.id)} > + + + + )} {ticket.status === "pending" && (