diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-06 12:06:32 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-06 12:06:32 -0300 |
commit | 6131b00de75ae14aaf11cdaa65f0cd663ebc4a3a (patch) | |
tree | c47323f2549f89604f73415109b7977ca9867885 /src/data/things | |
parent | ad047cfb583e04707f7226ee614a9e95aa91718b (diff) | |
parent | b37d81240307f3e38faaa781c3932feff53e9aac (diff) |
Merge branch 'preview' into networked-tags
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'), |