From 6e15ccce03c1716b188bbd29ef172ac905a87ca6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 24 Oct 2025 07:18:56 -0300 Subject: content: gTIPPreviousProductionLine: fix missing list format --- .../generateTrackInfoPagePreviousProductionLine.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/content') diff --git a/src/content/dependencies/generateTrackInfoPagePreviousProductionLine.js b/src/content/dependencies/generateTrackInfoPagePreviousProductionLine.js index b2f50cf3..f7f455c1 100644 --- a/src/content/dependencies/generateTrackInfoPagePreviousProductionLine.js +++ b/src/content/dependencies/generateTrackInfoPagePreviousProductionLine.js @@ -23,15 +23,16 @@ export default { [language.onlyIfOptions]: ['tracks'], tracks: - stitchArrays({ - trackLink: relations.trackLinks, - albumLink: relations.albumLinks, - }).map(({trackLink, albumLink}) => - (albumLink - ? language.$(capsule, 'trackOnAlbum', { - track: trackLink, - album: albumLink, - }) - : trackLink)), + language.formatConjunctionList( + stitchArrays({ + trackLink: relations.trackLinks, + albumLink: relations.albumLinks, + }).map(({trackLink, albumLink}) => + (albumLink + ? language.$(capsule, 'trackOnAlbum', { + track: trackLink, + album: albumLink, + }) + : trackLink))), })), }; -- cgit 1.3.0-6-gf8a5