« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateContributionTooltip.js18
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);
               }