« 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/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 65cc1b68..ce9f413c 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -18,7 +18,8 @@ import {
 } from '#yaml';
 
 import {withPropertyFromObject} from '#composite/data';
-import {withResolvedContribs} from '#composite/wiki-data';
+import {withRecontextualizedContributionList, withResolvedContribs}
+  from '#composite/wiki-data';
 
 import {
   exitWithoutDependency,
@@ -219,6 +220,10 @@ export class Track extends Thing {
         property: input.value('artistContribs'),
       }),
 
+      withRecontextualizedContributionList({
+        list: '#album.artistContribs',
+      }),
+
       exposeDependency({dependency: '#album.artistContribs'}),
     ],
 
@@ -254,6 +259,10 @@ export class Track extends Thing {
         property: input.value('trackCoverArtistContribs'),
       }),
 
+      withRecontextualizedContributionList({
+        list: '#album.trackCoverArtistContribs',
+      }),
+
       exposeDependency({dependency: '#album.trackCoverArtistContribs'}),
     ],