From aeac95db489cfedfba37d88b7e2f796774a397f0 Mon Sep 17 00:00:00 2001 From: jonathann92 <9582585+jonathann92@users.noreply.github.com> Date: Thu, 13 Jul 2023 22:08:00 -0700 Subject: [PATCH] early exit if tautulli's data is an empty object Fix for when tautulli cannot reach to plex --- src/widgets/tautulli/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/tautulli/component.jsx b/src/widgets/tautulli/component.jsx index a0328383a..0768ccaa9 100644 --- a/src/widgets/tautulli/component.jsx +++ b/src/widgets/tautulli/component.jsx @@ -126,7 +126,7 @@ export default function Component({ service }) { return ; } - if (!activityData) { + if (!activityData || Object.keys(activityData.response.data).length === 0) { return (