Fix changedetection diffs only showing up when it was the first time they were checked

This commit is contained in:
Sean Kelly 2023-12-14 17:30:06 -08:00
parent 3bddfdfe3b
commit 790f413642

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