« get me outta code hell

data: track: set fallback when inheriting from original release - 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-02-06 08:18:17 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-06 08:33:41 -0400
commit137bdf4107ccbb602ea99456caf45be847658564 (patch)
tree5f5eaf0ffab21d4f411ebddfcaeb35c95e42e819 /src/data/things
parent3913092589410a5e8a68168c6edbb59082fb5613 (diff)
data: track: set fallback when inheriting from original release
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 7702cae1..91ef724e 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -179,6 +179,7 @@ export class Track extends Thing {
     artistContribs: [
       inheritFromOriginalRelease({
         property: input.value('artistContribs'),
+        notFoundValue: input.value([]),
       }),
 
       withResolvedContribs({
@@ -202,6 +203,7 @@ export class Track extends Thing {
     contributorContribs: [
       inheritFromOriginalRelease({
         property: input.value('contributorContribs'),
+        notFoundValue: input.value([]),
       }),
 
       contributionList(),
@@ -236,6 +238,7 @@ export class Track extends Thing {
     referencedTracks: [
       inheritFromOriginalRelease({
         property: input.value('referencedTracks'),
+        notFoundValue: input.value([]),
       }),
 
       referenceList({
@@ -248,6 +251,7 @@ export class Track extends Thing {
     sampledTracks: [
       inheritFromOriginalRelease({
         property: input.value('sampledTracks'),
+        notFoundValue: input.value([]),
       }),
 
       referenceList({