From 4f32c3843813fb1adf2ead8bdcfa136078470d60 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 23 Jun 2024 20:28:40 +0200 Subject: [PATCH] Fix empty list bug in MySpeed widget Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/widgets/myspeed/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/myspeed/component.jsx b/src/widgets/myspeed/component.jsx index 609e4524..3bb7a792 100644 --- a/src/widgets/myspeed/component.jsx +++ b/src/widgets/myspeed/component.jsx @@ -21,7 +21,7 @@ export default function Component({ service }) { return ; } - if (!data) { + if (!data || (data && data.length === 0)) { return (