diff options
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 1fc05f0f..3ad1f233 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(' '); |