Merge pull request #543 from brunoccr/main

Fix error on refresh sending DATA var undefined on first time on widget ChangeDetection.IO
pull/561/head
shamoon 2 years ago committed by GitHub
commit 1ca1d6a5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,11 @@ export default function Component({ service }) {
if (error) {
return <Container error={error} />;
}
if (!data) {
return <Container service={service} />;
}
const totalObserved = Object.keys(data).length;
let diffsDetected = 0;

Loading…
Cancel
Save