mirror of
https://github.com/karl0ss/homepage.git
synced 2025-06-05 19:25:07 +01:00
Fix changedetection diffs only showing up when it was the first time they were checked (#2479)
This commit is contained in:
parent
3bddfdfe3b
commit
aeaf36e0cf
@ -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…
x
Reference in New Issue
Block a user