From a2240debfd2169b8e972b235e55dda9c51dc6958 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Wed, 26 Aug 2026 23:17:29 +0100 Subject: [PATCH] fix(web): drop redundant missing chip on episode rows The want button already only shows for state=="missing", so the chip repeated the same signal. Other non-available states keep it. Also fixes a pre-existing doc-markdown lint failure blocking CI. --- crates/arr-daemon/src/config.rs | 2 +- web/src/main.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/arr-daemon/src/config.rs b/crates/arr-daemon/src/config.rs index 02a4080..09bdf3d 100644 --- a/crates/arr-daemon/src/config.rs +++ b/crates/arr-daemon/src/config.rs @@ -522,7 +522,7 @@ prowlarr_url = "http://prowlarr.internal:9696" assert_eq!(config.jellyfin_api_key.as_deref(), Some("secret-3")); } - /// §15: OpenSubtitles and every translator's credentials are secrets, so + /// §15: `OpenSubtitles` and every translator's credentials are secrets, so /// this mirrors [`secrets_come_only_from_env`] for them. #[test] fn subtitle_secrets_come_only_from_env() { diff --git a/web/src/main.ts b/web/src/main.ts index 10cc0b8..8b7ed92 100644 --- a/web/src/main.ts +++ b/web/src/main.ts @@ -4958,7 +4958,11 @@ function seriesMain(tvDeck: TvReleasesView, views: HideableView[]): SeriesView { const chips = document.createElement("span"); chips.className = "row-chips ep-chips"; - chips.append(mediaStateChip(episode.state, episode.wanted)); + // the want button below only renders for this exact state, so the chip + // would just repeat it + if (episode.state !== "missing") { + chips.append(mediaStateChip(episode.state, episode.wanted)); + } // §9.8: nothing here if the episode is part of a season pack grab — that // download is `target_kind: "season"` and shows on the season row instead. const download = downloadChip("episode", episode.id);