Skip to content

Commit

Permalink
Correção para aceitar ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Jul 30, 2022
1 parent 8e66d6a commit d61d67d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/TicketListItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ const TicketListItem = ({ ticket }) => {
<ListItem
dense
button
// onClick={e => {
// if (ticket.status === "pending") return;
// handleSelectTicket(ticket.id);
// }}
onClick={e => {
if (ticket.status === "pending") return;
handleSelectTicket(ticket.id);
}}
selected={ticketId && +ticketId === ticket.id}
className={clsx(classes.ticket, {
[classes.pendingTicket]: (ticket.status === "pending"),
Expand Down

0 comments on commit d61d67d

Please sign in to comment.