From a3859afacb0054b30752d5eec802cdd558ac93b7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 4 Apr 2024 11:56:04 -0300 Subject: content: generateAlbumAdditionalFilesList: fix no-description --- src/content/dependencies/generateAlbumAdditionalFilesList.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/content') 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: -- cgit 1.3.0-6-gf8a5