diff options
Diffstat (limited to 'src/content/dependencies/generateTrackInfoPage.js')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js index 39f2a437..4540b79c 100644 --- a/src/content/dependencies/generateTrackInfoPage.js +++ b/src/content/dependencies/generateTrackInfoPage.js @@ -140,10 +140,12 @@ export default { styleRules: [relations.albumStyleRules], cover: - relations.cover?.slots({ - showReferenceLinks: true, - showNonUniqueLine: true, - }), + (relations.cover + ? relations.cover.slots({ + showReferenceLinks: true, + showNonUniqueLine: true, + }) + : null), mainContent: [ relations.releaseInfo, |