« get me outta code hell

data: inheritContributionListFromOriginalRelease - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-06 13:45:13 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-06-12 17:26:34 -0300
commit34f6afb3b0cf4d39b0b70a0169376d886ebce42d (patch)
tree6491f145c4ce84ce10ae210aaa5821bd24dbd343 /src/data/things
parent323c8df744ea58e52f107e4a85589e8e338998cd (diff)
data: inheritContributionListFromOriginalRelease
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index ce9f413c..eda68a4e 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -54,6 +54,7 @@ import {
 import {
   exitWithoutUniqueCoverArt,
   inferredAdditionalNameList,
+  inheritContributionListFromOriginalRelease,
   inheritFromOriginalRelease,
   sharedAdditionalNameList,
   trackReverseReferenceList,
@@ -200,9 +201,7 @@ export class Track extends Thing {
     }),
 
     artistContribs: [
-      inheritFromOriginalRelease({
-        notFoundValue: input.value([]),
-      }),
+      inheritContributionListFromOriginalRelease(),
 
       withResolvedContribs({
         from: input.updateValue({validate: isContributionList}),
@@ -228,10 +227,7 @@ export class Track extends Thing {
     ],
 
     contributorContribs: [
-      inheritFromOriginalRelease({
-        notFoundValue: input.value([]),
-      }),
-
+      inheritContributionListFromOriginalRelease(),
       contributionList(),
     ],