From 082f7539a750ac8eac3af398fe20bc375cb5f6ab Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 20 Sep 2023 16:35:09 +0700 Subject: [PATCH] test webhook --- netmiko_client/src/components/TestDevice/TestDevice.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netmiko_client/src/components/TestDevice/TestDevice.jsx b/netmiko_client/src/components/TestDevice/TestDevice.jsx index b36e768..a9102ba 100644 --- a/netmiko_client/src/components/TestDevice/TestDevice.jsx +++ b/netmiko_client/src/components/TestDevice/TestDevice.jsx @@ -411,9 +411,9 @@ const TestDevice = ({ socket, user }) => { id_station: selectStation, }); for (let i = 0; i < res.data.listLastLog.length; i++) { - // if (Date.now() - res.data.listLastLog[i].created_at < 3600000) { + if (Date.now() - res.data.listLastLog[i].created_at < 3600000) { temp.push(res.data.listLastLog[i]); - // } + } } setlistLastLogs(temp);