mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
fix: "Last update" not updating on connections list
This commit is contained in:
@@ -53,6 +53,7 @@ const reducer = (state, action) => {
|
|||||||
|
|
||||||
if (whatsAppIndex !== -1) {
|
if (whatsAppIndex !== -1) {
|
||||||
state[whatsAppIndex].status = whatsApp.status;
|
state[whatsAppIndex].status = whatsApp.status;
|
||||||
|
state[whatsAppIndex].updatedAt = whatsApp.updatedAt;
|
||||||
state[whatsAppIndex].qrcode = whatsApp.qrcode;
|
state[whatsAppIndex].qrcode = whatsApp.qrcode;
|
||||||
return [...state];
|
return [...state];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user