fix: "Last update" not updating on connections list

This commit is contained in:
canove
2020-09-08 16:47:08 -03:00
parent 296b45b82b
commit a2863352b0

View File

@@ -53,6 +53,7 @@ const reducer = (state, action) => {
if (whatsAppIndex !== -1) {
state[whatsAppIndex].status = whatsApp.status;
state[whatsAppIndex].updatedAt = whatsApp.updatedAt;
state[whatsAppIndex].qrcode = whatsApp.qrcode;
return [...state];
} else {