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 committato da GitHub
commit ec25267235
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 4AEE18F83AFDEB23

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