Fix empty list bug in MySpeed widget

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Mathias Wagner 2024-06-23 20:28:40 +02:00 committed by GitHub
parent 6a8b933d43
commit 4f32c38438
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ export default function Component({ service }) {
return <Container service={service} error={finalError} />;
}
if (!data) {
if (!data || (data && data.length === 0)) {
return (
<Container service={service}>
<Block label="myspeed.ping" />