diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-23 17:05:35 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-30 20:48:18 -0300 |
commit | bfe389e20902a27f0c2b29eb2abef8fcfe0fc62c (patch) | |
tree | 51128849742a11a904e1fc417d7d1cf8a88d46f1 /src/content/util | |
parent | e2df11974850e3e890d3fdb4573947abc804e505 (diff) |
content: generateTrackChronologyLinks: align sort orders
Diffstat (limited to 'src/content/util')
-rw-r--r-- | src/content/util/getChronologyRelations.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/util/getChronologyRelations.js b/src/content/util/getChronologyRelations.js index e4475ff8..c601a990 100644 --- a/src/content/util/getChronologyRelations.js +++ b/src/content/util/getChronologyRelations.js @@ -42,10 +42,12 @@ export default function getChronologyRelations(thing, { return { index: index + 1, + artistDirectory: artist.directory, + only: !(previous || next), + artistLink: linkArtist(artist), previousLink: previous ? linkThing(previous) : null, nextLink: next ? linkThing(next) : null, - only: !(previous || next), }; }).filter(Boolean) .sort((a, b) => |