diff --git a/netmiko_client/src/components/TestDevice/TestDevice.jsx b/netmiko_client/src/components/TestDevice/TestDevice.jsx index 6de8391..336adff 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 }); } @@ -1160,7 +1160,6 @@ const TestDevice = ({ socket, user }) => { socket?.on("sendListDeviceOn", (data) => { // console.log(data) setListDeviceOn(data); - // console.log(Date.now(), data); // data.map((t) => { // // if (listTestAuto.filter((item) => item.id === t.id).length === 0) { // temp.push(t.infoLine);