This commit is contained in:
Tobias Hopp 2023-05-21 19:42:18 +02:00
parent fff4ce7441
commit 7124182102

View File

@ -190,7 +190,7 @@ function loadValues()
let last = 0;
for(let i = 0; i < data.length; i++)
{
if(last + 1000 * 60 * 15 < new Date(data[i].createdAt).getTime() )
if(!(last + 900000 > new Date(data[i].createdAt).getTime()) )
newData.push(data[i]);
last = new Date(data[i].createdAt).getTime();
}