Merge pull request #1511 from brunoccr/main

Fix Slice error on container.jsx
This commit is contained in:
shamoon
2023-05-17 13:21:32 -07:00
committed by GitHub

View File

@@ -16,7 +16,12 @@ export default function Component({ service }) {
}
if (!data) {
return <Container service={service} />;
return (
<Container service={service}>
<Block label="changedetectionio.diffsDetected" />
<Block label="changedetectionio.totalObserved" />
</Container>
);
}
const totalObserved = Object.keys(data).length;