feat: finished queue filter on tickets list

This commit is contained in:
canove
2021-01-13 19:43:50 -03:00
parent c61c993572
commit 2c2a39ee1f
6 changed files with 124 additions and 134 deletions

View File

@@ -90,7 +90,7 @@ const Ticket = () => {
socket.on("connect", () => socket.emit("joinChatBox", ticketId));
socket.on("ticket", data => {
if (data.action === "updateStatus") {
if (data.action === "update") {
setTicket(data.ticket);
}