diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-11-17 18:16:18 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-17 18:16:18 -0400 |
commit | ec129ac9ce0b143ca4c325108ea66c2d0e7352ff (patch) | |
tree | 0dad7fa2757aa91ed698443d8767722071caed4f /src/page/track.js | |
parent | 6acbc628cb111c53d0b312ab90cd4807ad4bd8d1 (diff) |
content: generate{Album,}ReferencedArtworksPage
Diffstat (limited to 'src/page/track.js')
-rw-r--r-- | src/page/track.js | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/page/track.js b/src/page/track.js index beb804f8..ea5d0dce 100644 --- a/src/page/track.js +++ b/src/page/track.js @@ -20,15 +20,14 @@ export function pathsForTarget(track) { }, }, - !empty(track.referencedArtworks) && - { - type: 'page', - path: ['trackReferencedArtworks', track.directory], + !empty(track.referencedArtworks) && { + type: 'page', + path: ['trackReferencedArtworks', track.directory], - contentFunction: { - name: 'generateTrackReferencedArtworksPage', - args: [track], - }, + contentFunction: { + name: 'generateTrackReferencedArtworksPage', + args: [track], }, + }, ]; } |