From a2863352b00609c45b8e52ecc51b6be8f533c0a5 Mon Sep 17 00:00:00 2001 From: canove Date: Tue, 8 Sep 2020 16:47:08 -0300 Subject: [PATCH] fix: "Last update" not updating on connections list --- frontend/src/pages/Connections/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/pages/Connections/index.js b/frontend/src/pages/Connections/index.js index 5dab32f..7961ad9 100644 --- a/frontend/src/pages/Connections/index.js +++ b/frontend/src/pages/Connections/index.js @@ -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 {