diff options
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/track.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/page/track.js b/src/page/track.js index e75b6958..9b3867c9 100644 --- a/src/page/track.js +++ b/src/page/track.js @@ -6,7 +6,7 @@ export function targets({wikiData}) { return wikiData.trackData; } -export function pathsForTarget(track) { +export function pathsForTarget(track, {wikiInfo}) { return [ { type: 'page', @@ -14,7 +14,9 @@ export function pathsForTarget(track) { contentFunction: { name: 'generateTrackInfoPage', - args: [track], + args: [track, { + topLevelGroups: wikiInfo.divideTrackListsByGroups, + }], }, }, ]; |