« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumAdditionalFilesList.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumAdditionalFilesList.js b/src/content/dependencies/generateAlbumAdditionalFilesList.js
index 77aac472..9818a43c 100644
--- a/src/content/dependencies/generateAlbumAdditionalFilesList.js
+++ b/src/content/dependencies/generateAlbumAdditionalFilesList.js
@@ -65,7 +65,10 @@ export default {
         }).map(({chunk, title, description}) =>
             chunk.slots({
               title,
-              description: description.slot('mode', 'inline'),
+              description:
+                (description
+                  ? description.slot('mode', 'inline')
+                  : null),
             })),
 
       chunkItems: