diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-04-02 15:10:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-04-10 16:02:38 -0300 |
commit | 58fba5a7a859c5398e0e58f31d7e8e5a649db63b (patch) | |
tree | 39f4ac7ed8292d2af453263f63ecdfaf93cba42d /src/data/composite/wiki-properties/soupyReverse.js | |
parent | 4030a62fc518627071dc792e2754d9d99fa46546 (diff) |
data, content: stub multiple artworks
Only for tracks as of this commit, most anything else is in a severely broken state aye
Diffstat (limited to 'src/data/composite/wiki-properties/soupyReverse.js')
-rw-r--r-- | src/data/composite/wiki-properties/soupyReverse.js | 5 |
1 files changed, 2 insertions, 3 deletions
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], }); |