diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-24 17:41:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-24 17:41:40 -0300 |
commit | 841d0c2311bcd8e93aa0765aa89e14060b1c643a (patch) | |
tree | 6631c32c0baff20f648990b66b3b2fd7ccaf5250 /src/content | |
parent | 324b74cef03ca5f21e938ed3bb9a43e564b377fa (diff) |
content: fix generateAlbumTrackList computing unneeded data
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateAlbumTrackList.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumTrackList.js b/src/content/dependencies/generateAlbumTrackList.js index 7734cda5..89ccd04b 100644 --- a/src/content/dependencies/generateAlbumTrackList.js +++ b/src/content/dependencies/generateAlbumTrackList.js @@ -67,7 +67,7 @@ export default { data.hasTrackNumbers = album.hasTrackNumbers; - if (displayTrackSections && !empty(album.trackSections)) { + if (displayTrackSections(album)) { data.trackSectionInfo = album.trackSections.map(section => { const info = {}; |