diff options
Diffstat (limited to 'src/content/dependencies/generateContributionTooltip.js')
-rw-r--r-- | src/content/dependencies/generateContributionTooltip.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/content/dependencies/generateContributionTooltip.js b/src/content/dependencies/generateContributionTooltip.js index 62c9026d..70641ddb 100644 --- a/src/content/dependencies/generateContributionTooltip.js +++ b/src/content/dependencies/generateContributionTooltip.js @@ -127,15 +127,6 @@ export default { data.isSingleFirstTrackArtistContribution && !html.isBlank(relations.artistReleaseChronologySection) ) { - if (data.artistReleaseChronologySectionDiffers) { - relations.ownChronologySection.setSlot('heading', - language.$(capsule, 'heading.artistTracks', { - artist: data.artistName, - })); - - chronologySections.push(relations.ownChronologySection); - } - relations.artistReleaseChronologySection.setSlot('kind', 'release'); relations.artistReleaseChronologySection.setSlot('heading', @@ -144,6 +135,15 @@ export default { })); chronologySections.push(relations.artistReleaseChronologySection); + + if (data.artistReleaseChronologySectionDiffers) { + relations.ownChronologySection.setSlot('heading', + language.$(capsule, 'heading.artistTracks', { + artist: data.artistName, + })); + + chronologySections.push(relations.ownChronologySection); + } } else { chronologySections.push(relations.ownChronologySection); } |