From a5a31d5bf669fcb579d07c069a97f8945b743407 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 6 Mar 2024 13:41:38 -0400 Subject: data: withRecontextualizedContributionList --- src/data/things/track.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/data/things') 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'}), ], -- cgit 1.3.0-6-gf8a5