mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
feat: starting appbar notifications
This commit is contained in:
@@ -110,7 +110,7 @@ const TicketsList = ({
|
||||
dense
|
||||
button
|
||||
onClick={e => {
|
||||
if (ticket.status === "pending") return;
|
||||
if (ticket.status === "pending" && handleAcepptTicket) return;
|
||||
handleSelectTicket(e, ticket);
|
||||
}}
|
||||
selected={ticketId && +ticketId === ticket.id}
|
||||
@@ -179,7 +179,7 @@ const TicketsList = ({
|
||||
</span>
|
||||
}
|
||||
/>
|
||||
{ticket.status === "pending" ? (
|
||||
{ticket.status === "pending" && handleAcepptTicket ? (
|
||||
<Button
|
||||
variant="contained"
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user