diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-21 21:15:42 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-05 21:02:48 -0300 |
commit | 9e23a5a9eff30af0d7c8e356520dec791aebd38f (patch) | |
tree | eb32a0c1afca077b064c26fabb5b6d68e56169f3 /src/data/things | |
parent | 55e4afead38bc541cba4ae1cef183527c254f99a (diff) |
content, data: be more guarded about track contribs arrays
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/artist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 522ca5f9..43628b6b 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -156,7 +156,7 @@ export class Artist extends Thing { }) => thingData?.filter(thing => thing[contribsProperty] - .some(contrib => contrib.who === artist)) ?? [], + ?.some(contrib => contrib.who === artist)) ?? [], }, }); } |