« get me outta code hell

don't expose/show coverArtDate without cover art - 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-12-07 06:05:34 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-12-07 06:05:34 -0400
commitdf92bfb7c0e48d27bc1490b35b9683aa5611ed51 (patch)
treea7762a4046695cf85dd79a76e0c19cfd089ab8ff /src/page
parentc703a9337b9d4d535c0b503f91684a2fbff89e93 (diff)
don't expose/show coverArtDate without cover art
Diffstat (limited to 'src/page')
-rw-r--r--src/page/track.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/page/track.js b/src/page/track.js
index c283aa30..94c9c40a 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -265,6 +265,7 @@ export function write(track, {wikiData}) {
                     date: language.formatDate(track.date),
                   }),
 
+                cover &&
                 track.coverArtDate &&
                 +track.coverArtDate !== +track.date &&
                   language.$('releaseInfo.artReleased', {