mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
fix: new tickets not showing up by websockets
This commit is contained in:
@@ -185,7 +185,7 @@ const TicketsList = ({ status, searchParam, showAll, selectedQueueIds }) => {
|
||||
|
||||
const shouldUpdateTicket = ticket =>
|
||||
(!ticket.userId || ticket.userId === user?.id || showAll) &&
|
||||
selectedQueueIds.indexOf(ticket.queueId) > -1;
|
||||
(!ticket.queueId || selectedQueueIds.indexOf(ticket.queueId) > -1);
|
||||
|
||||
socket.on("connect", () => {
|
||||
if (status) {
|
||||
|
||||
Reference in New Issue
Block a user