From 01ad4dda0d8609fbfb2759cc1bb975b9c6b71c58 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 20 Nov 2024 07:31:01 -0400 Subject: content: fix a couple code bugs w/ cover artwork changes Oops! All peachy now. --- src/content/dependencies/generateAlbumInfoPage.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/content/dependencies/generateAlbumInfoPage.js') diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index 14745b96..1f741a60 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -109,9 +109,11 @@ export default { additionalNames: relations.additionalNamesBox, cover: - relations.cover?.slots({ - showReferenceLinks: true, - }), + (relations.cover + ? relations.cover.slots({ + showReferenceLinks: true, + }) + : null), mainContent: [ relations.releaseInfo, -- cgit 1.3.0-6-gf8a5