Merge pull request #543 from brunoccr/main
Fix error on refresh sending DATA var undefined on first time on widget ChangeDetection.IO
This commit is contained in:
commit
1ca1d6a5c8
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue