mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
improvement: change ticket user after aceppting ticket
This commit is contained in:
@@ -334,7 +334,7 @@ const MessagesList = () => {
|
||||
|
||||
socket.on("ticket", data => {
|
||||
if (data.action === "updateStatus") {
|
||||
setTicket(data.ticket);
|
||||
setTicket({ ...data.ticket, user: data.user });
|
||||
}
|
||||
|
||||
if (data.action === "delete") {
|
||||
|
||||
Reference in New Issue
Block a user