« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 = {};