« get me outta code hell

data: track: refactor inheritFromOriginalRelease - 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:23:08 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-05-01 07:06:06 -0300
commit44461c9f158702cfee48ae3a9339d3aba6de4d63 (patch)
tree1705d540c05beee485f594b23336a0c261200e80 /src/data/things
parentf0d3e127cb138e435652a134d94656d6c457759a (diff)
data: track: refactor inheritFromOriginalRelease
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index cc49fc24..725b1bb7 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -168,10 +168,7 @@ export class Track extends Thing {
     commentary: commentary(),
 
     lyrics: [
-      inheritFromOriginalRelease({
-        property: input.value('lyrics'),
-      }),
-
+      inheritFromOriginalRelease(),
       contentString(),
     ],
 
@@ -196,7 +193,6 @@ export class Track extends Thing {
 
     artistContribs: [
       inheritFromOriginalRelease({
-        property: input.value('artistContribs'),
         notFoundValue: input.value([]),
       }),
 
@@ -220,7 +216,6 @@ export class Track extends Thing {
 
     contributorContribs: [
       inheritFromOriginalRelease({
-        property: input.value('contributorContribs'),
         notFoundValue: input.value([]),
       }),
 
@@ -255,7 +250,6 @@ export class Track extends Thing {
 
     referencedTracks: [
       inheritFromOriginalRelease({
-        property: input.value('referencedTracks'),
         notFoundValue: input.value([]),
       }),
 
@@ -268,7 +262,6 @@ export class Track extends Thing {
 
     sampledTracks: [
       inheritFromOriginalRelease({
-        property: input.value('sampledTracks'),
         notFoundValue: input.value([]),
       }),