« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/artist.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js
index 43628b6b..4f157bc6 100644
--- a/src/data/things/artist.js
+++ b/src/data/things/artist.js
@@ -71,9 +71,9 @@ export class Artist extends Thing {
         compute: ({trackData, [Artist.instance]: artist}) =>
           trackData?.filter((track) =>
             [
-              ...track.artistContribs,
-              ...track.contributorContribs,
-              ...track.coverArtistContribs,
+              ...track.artistContribs ?? [],
+              ...track.contributorContribs ?? [],
+              ...track.coverArtistContribs ?? [],
             ].some(({who}) => who === artist)) ?? [],
       },
     },