« 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/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: