From 80e22ab446d905547dd8f8303552084e485b09d5 Mon Sep 17 00:00:00 2001 From: Monkey Do Date: Fri, 29 Nov 2024 14:15:18 +0100 Subject: [PATCH] Artist radio: apply ::nosim to all artists Previously only applied to the last entry only (by mistake) --- frontend/js/src/album/AlbumPage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/js/src/album/AlbumPage.tsx b/frontend/js/src/album/AlbumPage.tsx index fbad755f1d..1213ca302a 100644 --- a/frontend/js/src/album/AlbumPage.tsx +++ b/frontend/js/src/album/AlbumPage.tsx @@ -264,6 +264,10 @@ export default function AlbumPage(): JSX.Element { artist.artists ?.map((a) => `artist:(${a.artist_mbid ?? a.name})`) .join(" ") ?? `artist:(${encodeURIComponent(artist.name)})`; + const artistsRadioPromptNoSim: string = + artist.artists + ?.map((a) => `artist:(${a.artist_mbid ?? a.name})::nosim`) + .join(" ") ?? `artist:(${encodeURIComponent(artist.name)})::nosim`; return (
  • {artist.artists?.length > 1 ? "These artists" : "This artist"}{" "} only