Fix Slice error on container.jsx

pull/1511/head
Bruno Rossetto 1 year ago committed by GitHub
parent 1091447b8b
commit cc36ad19ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save