diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-06-13 22:44:54 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-06-13 22:44:54 -0300 |
commit | 1d966357e8d7303ea5442b5e6ea24b58002486f5 (patch) | |
tree | 51bd06c77b396a983c28f3301864e1f333eed783 /src/page | |
parent | 4136d9d53191be9e5bba72f70364fe0155c7593d (diff) |
restore re-release accent on artist pages
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/artist.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/page/artist.js b/src/page/artist.js index 17ff5b66..99123168 100644 --- a/src/page/artist.js +++ b/src/page/artist.js @@ -143,9 +143,9 @@ export function write(artist, {wikiData}) { const generateEntryAccents = ({ getArtistString, language, - aka, entry, artists, contrib + original, entry, artists, contrib }) => - (aka + (original ? language.$('artistPage.creditList.entry.rerelease', {entry}) : (artists.length ? ((contrib.what || contrib.whatArray?.length) @@ -187,16 +187,16 @@ export function write(artist, {wikiData}) { <dd><ul> ${(chunk .map(({track, ...props}) => ({ - aka: track.aka, + original: track.originalReleaseTrack, entry: language.$('artistPage.creditList.entry.track.withDuration', { track: link.track(track), duration: language.formatDuration(track.duration ?? 0) }), ...props })) - .map(({aka, ...opts}) => html.tag('li', - {class: aka && 'rerelease'}, - generateEntryAccents({getArtistString, language, aka, ...opts}))) + .map(({original, ...opts}) => html.tag('li', + {class: original && 'rerelease'}, + generateEntryAccents({getArtistString, language, original, ...opts}))) .join('\n'))} </ul></dd> `).join('\n')} |