Skip to content

Commit

Permalink
Fix changedetection diffs only showing up when it was the first time …
Browse files Browse the repository at this point in the history
…they were checked (#2479)
  • Loading branch information
xconverge authored Dec 15, 2023
1 parent 3bddfdf commit aeaf36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/changedetectionio/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
Expand Down

0 comments on commit aeaf36e

Please sign in to comment.