« get me outta code hell

data, content: various property & thing-type matches - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPageTracksChunkItem.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-10 20:24:34 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-12 17:26:48 -0300
commit36d72d8f910dc0b9200224236d67eec605290b56 (patch)
tree50141eca54f51fea7a733d60a0fb3c6bd409de44 /src/content/dependencies/generateArtistInfoPageTracksChunkItem.js
parent0eeb86eb198a052fbf200e07ab3aba0f75653636 (diff)
data, content: various property & thing-type matches
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageTracksChunkItem.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPageTracksChunkItem.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageTracksChunkItem.js b/src/content/dependencies/generateArtistInfoPageTracksChunkItem.js
index 9674eb4f..d7460c80 100644
--- a/src/content/dependencies/generateArtistInfoPageTracksChunkItem.js
+++ b/src/content/dependencies/generateArtistInfoPageTracksChunkItem.js
@@ -1,5 +1,4 @@
 import {empty} from '#sugar';
-import {isArtistContribution, isContributorContribution} from '#wiki-data';
 
 export default {
   contentDependencies: [
@@ -20,11 +19,11 @@ export default {
 
     const creditedAsArtist =
       contribs
-        .some(isArtistContribution);
+        .some(contrib => contrib.isArtistContribution);
 
     const creditedAsContributor =
       contribs
-        .some(isContributorContribution);
+        .some(contrib => contrib.isContributorContribution);
 
     const annotatedContribs =
       contribs
@@ -32,11 +31,11 @@ export default {
 
     const annotatedArtistContribs =
       annotatedContribs
-        .filter(isArtistContribution);
+        .filter(contrib => contrib.isArtistContribution);
 
     const annotatedContributorContribs =
       annotatedContribs
-        .filter(isContributorContribution);
+        .filter(contrib => contrib.isContributorContribution);
 
     // Don't display annotations associated with crediting in the
     // Contributors field if the artist is also credited as an Artist