diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-18 08:54:50 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-11-02 22:12:50 -0300 |
commit | 8e5c0d5f858716ce6029e47afdde9ded79ed8e32 (patch) | |
tree | 7187aca9a0e6a6d50ee53617f930c69eaa0bd48d /src/data/composite | |
parent | 8fa2a306dbd74accf77028669b3a1e69f6bbeafc (diff) |
data: series list showAlbumArtists
Diffstat (limited to 'src/data/composite')
-rw-r--r-- | src/data/composite/wiki-data/withResolvedSeriesList.js | 13 |
1 files changed, 13 insertions, 0 deletions
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 |