diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-10 19:39:41 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:05 -0300 |
commit | 019e351a9560b09256dfaf99fea9252029df1701 (patch) | |
tree | 16cf9e0c68ad88da2220036a1fd3d92d791d6f67 /src/content/dependencies/generateArtistInfoPageChunkItem.js | |
parent | dd5f7fe008a8b7c207e0f82255fedd1442f41b04 (diff) |
content: gAIPOtherArtistLinks: use associatedContributions
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageChunkItem.js')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageChunkItem.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js index b6f40727..ee172f48 100644 --- a/src/content/dependencies/generateArtistInfoPageChunkItem.js +++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js @@ -1,3 +1,5 @@ +import {empty} from '#sugar'; + export default { extraDependencies: ['html', 'language'], @@ -35,7 +37,7 @@ export default { const parts = ['artistPage.creditList.entry']; const options = {entry: accentedContent}; - if (slots.otherArtistLinks) { + if (!empty(slots.otherArtistLinks)) { parts.push('withArtists'); options.artists = language.formatConjunctionList(slots.otherArtistLinks); } |