diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumInfoPage.js')
-rw-r--r-- | src/content/dependencies/generateAlbumInfoPage.js | 8 |
1 files changed, 5 insertions, 3 deletions
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, |