From aeaf36e0cfb15c35e1c6bedb79fe11c9fab5dbb5 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Thu, 14 Dec 2023 19:07:52 -0800 Subject: [PATCH] Fix changedetection diffs only showing up when it was the first time they were checked (#2479) --- src/widgets/changedetectionio/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/changedetectionio/component.jsx b/src/widgets/changedetectionio/component.jsx index e13e10e4c19..caef8655464 100644 --- a/src/widgets/changedetectionio/component.jsx +++ b/src/widgets/changedetectionio/component.jsx @@ -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; } });