fix(web): drop redundant missing chip on episode rows
ci / web (push) Successful in 1m22s
e2e / e2e (push) Failing after 3m7s
ci / rust (push) Successful in 3m10s

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.
This commit is contained in:
Miguel Palhas
2026-08-26 23:17:29 +01:00
parent 4cec2b6ed5
commit a2240debfd
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -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);