From 58fba5a7a859c5398e0e58f31d7e8e5a649db63b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 2 Apr 2025 15:10:58 -0300 Subject: data, content: stub multiple artworks Only for tracks as of this commit, most anything else is in a severely broken state aye --- src/data/composite/wiki-properties/soupyReverse.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/data/composite/wiki-properties/soupyReverse.js') diff --git a/src/data/composite/wiki-properties/soupyReverse.js b/src/data/composite/wiki-properties/soupyReverse.js index a3171738..b99c45da 100644 --- a/src/data/composite/wiki-properties/soupyReverse.js +++ b/src/data/composite/wiki-properties/soupyReverse.js @@ -24,9 +24,8 @@ soupyReverse.artworkContributionsBy = bindTo, referencing: thing => - (thing[artworkProperty] - ? thing[artworkProperty].artistContribs - : []), + thing[artworkProperty] + .flatMap(artwork => artwork.artistContribs), referenced: contrib => [contrib.artist], }); -- cgit 1.3.0-6-gf8a5