diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-06 12:06:15 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-06 12:06:15 -0300 |
commit | b37d81240307f3e38faaa781c3932feff53e9aac (patch) | |
tree | 7e0e2a16b5dbcfd47f25632a41d1bc286d2397eb /src/data/things | |
parent | d21a899ec62d0298f298a9fbdd8b74e5bc44c681 (diff) |
data, test: fix track contribs not inheriting properly
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/track.js | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 193ad891..db325a17 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -178,7 +178,10 @@ export class Track extends Thing { '#resolvedContribs': '#artistContribs', }), - exposeDependencyOrContinue({dependency: '#artistContribs'}), + exposeDependencyOrContinue({ + dependency: '#artistContribs', + mode: input.value('empty'), + }), withPropertyFromAlbum({ property: input.value('artistContribs'), @@ -199,7 +202,9 @@ export class Track extends Thing { // typically varies by release and isn't defined by the musical qualities // of the track. coverArtistContribs: [ - exitWithoutUniqueCoverArt(), + exitWithoutUniqueCoverArt({ + value: input.value([]), + }), withResolvedContribs({ from: input.updateValue({validate: isContributionList}), @@ -207,7 +212,10 @@ export class Track extends Thing { '#resolvedContribs': '#coverArtistContribs', }), - exposeDependencyOrContinue({dependency: '#coverArtistContribs'}), + exposeDependencyOrContinue({ + dependency: '#coverArtistContribs', + mode: input.value('empty'), + }), withPropertyFromAlbum({ property: input.value('trackCoverArtistContribs'), |