diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPage.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPage.js b/src/content/dependencies/generateArtistInfoPage.js index c319d08b..d0a7ddf3 100644 --- a/src/content/dependencies/generateArtistInfoPage.js +++ b/src/content/dependencies/generateArtistInfoPage.js @@ -42,8 +42,14 @@ export default { .map(contribs => contribs.find(({who}) => who === artist)) .filter(Boolean); - properties.contributionDescriptions = - ownContribs.map(({what}) => what).filter(Boolean); + const contributionDescriptions = + ownContribs + .map(({what}) => what) + .filter(Boolean); + + if (!empty(contributionDescriptions)) { + properties.contributionDescriptions = contributionDescriptions; + } const otherArtistContribs = contribArrays |