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

pull/2483/head
Sean Kelly 1 year ago committed by GitHub
parent 3bddfdfe3b
commit aeaf36e0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}
});

Loading…
Cancel
Save