« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/composite')
-rw-r--r--src/data/composite/wiki-data/withResolvedSeriesList.js13
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