Fix changedetection diffs only showing up when it was the first time they were checked (#2479)

This commit is contained in:
Sean Kelly authored and GitHub committed 2023-12-14 19:07:52 -08:00
1 parent 3bddfdfe3b
commit aeaf36e0cf
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@ export default function Component({ service }) {
let diffsDetected = 0;
Object.keys(data).forEach((key) => {
if (data[key].last_changed > 0 && data[key].last_checked === data[key].last_changed && !data[key].viewed) {
if (data[key].last_changed > 0 && !data[key].viewed) {
diffsDetected += 1;
}
});