« get me outta code hell

fix "false" showing up in artist strings, oops - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-03-03 13:30:47 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-03-03 13:30:47 -0400
commit530b561114b753ed4fcdfe9a698c62b7eccde5e7 (patch)
treeb8d9934c30dc9966ddaa81428dfeff625796c27b
parent8202005413171124c41e32bb02eea4414cc4ef37 (diff)
fix "false" showing up in artist strings, oops
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index 30545854..3527919b 100755
--- a/upd8.js
+++ b/upd8.js
@@ -4555,7 +4555,7 @@ function getArtistString(artists, {strings, to, showIcons = false, showContrib =
             strings.link.artist(who, {to}),
             showContrib && what && `(${what})`,
             showIcons && urls.length && `<span class="icons">(${urls.map(iconifyURL).join(', ')})</span>`
-        ].join(' ');
+        ].filter(Boolean).join(' ');
     }));
 }