diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 10:00:21 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-19 10:00:21 -0300 |
commit | c6c1a6be4ee817c65ccc994cd6ae68a835aa406e (patch) | |
tree | 23e07252b71329bf99aad400aa0ca93eb59ba532 /src/content/dependencies/generateArtistInfoPageChunkItem.js | |
parent | fd102ee597e2ad2ba8f0950ce1a16fd34029963d (diff) | |
parent | fdd8f355bfe0992fc340f800297df524276b1946 (diff) |
Merge branch 'preview' into track-data-cleanup
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageChunkItem.js')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageChunkItem.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js index 36f0ebcc..9f99513d 100644 --- a/src/content/dependencies/generateArtistInfoPageChunkItem.js +++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js @@ -5,7 +5,7 @@ export default { content: {type: 'html'}, otherArtistLinks: {validate: v => v.strictArrayOf(v.isHTML)}, - contribution: {type: 'string'}, + contribution: {type: 'html'}, rerelease: {type: 'boolean'}, }, @@ -30,7 +30,7 @@ export default { options.artists = language.formatConjunctionList(slots.otherArtistLinks); } - if (slots.contribution) { + if (!html.isBlank(slots.contribution)) { parts.push('withContribution'); options.contribution = slots.contribution; } |