mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
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
Add a link
Reference in a new issue