diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-04 11:56:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-04 11:56:04 -0300 |
commit | a3859afacb0054b30752d5eec802cdd558ac93b7 (patch) | |
tree | b72ecc0c6c3bba1c6e9fd5004769cd16416f7dd3 /src/content/dependencies | |
parent | 48a57e64e705624a219b140fb88fcf295329deb5 (diff) |
content: generateAlbumAdditionalFilesList: fix no-description
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAlbumAdditionalFilesList.js | 5 |
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: |