diff --git a/netmiko_client/src/components/TestDevice/TestDevice.jsx b/netmiko_client/src/components/TestDevice/TestDevice.jsx index c73ef61..6de8391 100644 --- a/netmiko_client/src/components/TestDevice/TestDevice.jsx +++ b/netmiko_client/src/components/TestDevice/TestDevice.jsx @@ -377,9 +377,9 @@ const TestDevice = ({ socket, user }) => { }); let temp2 = []; for (let i = 0; i < res1.data.listLastLog.length; i++) { - // if (Date.now() - res1.data.listLastLog[i].created_at < 3600000) { + if (Date.now() - res1.data.listLastLog[i].created_at < 3600000) { temp2.push(res1.data.listLastLog[i]); - // } + } } temp1.push({ idSta: allStation[j].id_station, temp2 }); }