From 8e5c0d5f858716ce6029e47afdde9ded79ed8e32 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 18 Oct 2024 08:54:50 -0300 Subject: data: series list showAlbumArtists --- src/data/composite/wiki-data/withResolvedSeriesList.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/data/composite/wiki-data') diff --git a/src/data/composite/wiki-data/withResolvedSeriesList.js b/src/data/composite/wiki-data/withResolvedSeriesList.js index bd2b0ecf..4ac74cc3 100644 --- a/src/data/composite/wiki-data/withResolvedSeriesList.js +++ b/src/data/composite/wiki-data/withResolvedSeriesList.js @@ -46,6 +46,8 @@ export default templateCompositeFrom({ 'name', 'description', 'albums', + + 'showAlbumArtists', ]), }), @@ -76,23 +78,34 @@ export default templateCompositeFrom({ fill: input.value(null), }), + fillMissingListItems({ + list: '#serieses.showAlbumArtists', + fill: input.value(null), + }), + { dependencies: [ '#serieses.name', '#serieses.description', '#serieses.albums', + + '#serieses.showAlbumArtists', ], compute: (continuation, { ['#serieses.name']: name, ['#serieses.description']: description, ['#serieses.albums']: albums, + + ['#serieses.showAlbumArtists']: showAlbumArtists, }) => continuation({ ['#seriesProperties']: stitchArrays({ name, description, albums, + + showAlbumArtists, }).map(properties => ({ ...properties, group: input -- cgit 1.3.0-6-gf8a5