diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-02-24 22:59:04 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-02-24 22:59:04 -0400 |
commit | 5057b24b53f3866cf9f34a6fdfa0d1345c0d8be0 (patch) | |
tree | 80c4d41078d1b23d6f3d8279c1470e84f8a7615a /src/page/artist.js | |
parent | 71de050864a42afcaeb409c11b9c792653cf2f1b (diff) |
error-free basic full build
Diffstat (limited to 'src/page/artist.js')
-rw-r--r-- | src/page/artist.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/page/artist.js b/src/page/artist.js index b89107fc..d0128050 100644 --- a/src/page/artist.js +++ b/src/page/artist.js @@ -32,11 +32,7 @@ export function targets({wikiData}) { export function write(artist, {wikiData}) { const { groupData, wikiInfo } = wikiData; - const { - name, - urls = [], - note = '' - } = artist; + const { name, urls, note } = artist; const artThingsAll = sortByDate(unique([ ...artist.albumsAsCoverArtist ?? [], @@ -305,7 +301,7 @@ export function write(artist, {wikiData}) { </blockquote> <hr> `} - ${urls.length && `<p>${strings('releaseInfo.visitOn', { + ${urls?.length && `<p>${strings('releaseInfo.visitOn', { links: strings.list.or(urls.map(url => fancifyURL(url, {strings}))) })}</p>`} ${hasGallery && `<p>${strings('artistPage.viewArtGallery', { |