« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateAlbumTrackList.js2
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 = {};