« get me outta code hell

content: generateChronologyLinks: "Only track by..." - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-23 14:44:51 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-30 20:48:17 -0300
commitfe8f774aeb51eb9167421a1c5f6356163e04af04 (patch)
tree72cb31e350440c500464b94aa89fc6dcb58bd84b /src/content/util
parent88d6ff83332c4b089a4386efa9cb4469cfef555f (diff)
content: generateChronologyLinks: "Only track by..."
Diffstat (limited to 'src/content/util')
-rw-r--r--src/content/util/getChronologyRelations.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/content/util/getChronologyRelations.js b/src/content/util/getChronologyRelations.js
index c4a62dad..7a67c6f9 100644
--- a/src/content/util/getChronologyRelations.js
+++ b/src/content/util/getChronologyRelations.js
@@ -37,13 +37,8 @@ export default function getChronologyRelations(thing, {
       return;
     }
 
-    // Don't show a line if this contribution is the *only* item in the
-    // artist's chronology (since there's nothing to navigate there).
     const previous = things[index - 1];
     const next = things[index + 1];
-    if (!previous && !next) {
-      return;
-    }
 
     return {
       index: index + 1,