« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 1fc05f0..3ad1f23 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -35,7 +35,7 @@ export function getArtistString(artists, {
         return [
             link.artist(who),
             showContrib && what && `(${what})`,
-            showIcons && urls.length && `<span class="icons">(${
+            showIcons && urls?.length && `<span class="icons">(${
                 strings.list.unit(urls.map(url => iconifyURL(url, {strings})))
             })</span>`
         ].filter(Boolean).join(' ');