« get me outta code hell

content, data: additional file chronology links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContributionTooltipChronologySection.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-05-23 11:05:18 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-23 11:05:18 -0300
commitb0ee6c87f95b65225e5e8c0119959833f599b3bb (patch)
tree51bea1cbc2e52963fc10ae019beb496545d3ee2d /src/content/dependencies/generateContributionTooltipChronologySection.js
parente44bf9442d564160209a0b38e388ef914b56fd3e (diff)
content, data: additional file chronology links
Diffstat (limited to 'src/content/dependencies/generateContributionTooltipChronologySection.js')
-rw-r--r--src/content/dependencies/generateContributionTooltipChronologySection.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/content/dependencies/generateContributionTooltipChronologySection.js b/src/content/dependencies/generateContributionTooltipChronologySection.js
index 0cabc877..58bbddd0 100644
--- a/src/content/dependencies/generateContributionTooltipChronologySection.js
+++ b/src/content/dependencies/generateContributionTooltipChronologySection.js
@@ -3,7 +3,15 @@ function getName(thing) {
     return null;
   }
 
-  if (thing.isArtwork || thing.isMusicVideo) {
+  if (thing.isAdditionalFile) {
+    return thing.thing.name;
+  }
+
+  if (thing.isArtwork) {
+    return thing.thing.name;
+  }
+
+  if (thing.isMusicVideo) {
     return thing.thing.name;
   }