Fix empty list bug in MySpeed widget
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
6a8b933d43
commit
4f32c38438
@ -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" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user