« get me outta code hell

hide cover artist info when no data present - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-06 22:31:00 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-06 22:31:00 -0400
commit9f799b4d116ed0fd14fe4a5a03bd8fc16b93c39b (patch)
treee12a0fac300ccf37c22ca8e0f6157d8912d36c33 /src/page
parent2a9a7a61c1c5eefd51bc1d5d87ff99cf2f1bf5b4 (diff)
hide cover artist info when no data present
Diffstat (limited to 'src/page')
-rw-r--r--src/page/track.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/track.js b/src/page/track.js
index 9a3307b4..17e75858 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -174,7 +174,7 @@ export function write(track, {wikiData}) {
                                         showIcons: true
                                     })
                                 }),
-                                track.coverArtistContribs && strings('releaseInfo.coverArtBy', {
+                                track.coverArtistContribs.length && strings('releaseInfo.coverArtBy', {
                                     artists: getArtistString(track.coverArtistContribs, {
                                         showContrib: true,
                                         showIcons: true