feat: starting appbar notifications

This commit is contained in:
canove
2020-08-24 17:16:26 -03:00
parent 3fe436fd34
commit ea4ff654ff
17 changed files with 1113 additions and 305 deletions

View File

@@ -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"