From bf2efce74d4218025646975bb1a19c9589b77654 Mon Sep 17 00:00:00 2001 From: Mark <3046690+markp-mckinney@users.noreply.github.com> Date: Sat, 26 Oct 2024 20:24:46 -0700 Subject: [PATCH] Chore: filter Radarr movie response (#4199) Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/widgets/radarr/widget.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/widgets/radarr/widget.js b/src/widgets/radarr/widget.js index 7ce412c6e..7d370378d 100644 --- a/src/widgets/radarr/widget.js +++ b/src/widgets/radarr/widget.js @@ -12,7 +12,10 @@ const widget = { wanted: jsonArrayFilter(data, (item) => item.monitored && !item.hasFile && item.isAvailable).length, have: jsonArrayFilter(data, (item) => item.hasFile).length, missing: jsonArrayFilter(data, (item) => item.monitored && !item.hasFile).length, - all: asJson(data), + all: asJson(data).map((entry) => ({ + title: entry.title, + id: entry.id, + })), }), }, "queue/status": {