diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 14:29:25 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 14:29:25 -0400 |
commit | e0a84cf1b550a7f6d065a64cf4524fa408508bc5 (patch) | |
tree | 09ea5975efdaa52a223f9fd1ff71b528c6e58e2c /src/data | |
parent | 4f99ea91531b212f8ae223fd4c4ad56fe262785c (diff) |
data: Track.artTags: empty without unique cover art
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things/track.js | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index be3035cd..375dd81d 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -255,11 +255,17 @@ export class Track extends Thing { }), ], - artTags: referenceList({ - class: input.value(ArtTag), - find: input.value(find.artTag), - data: 'artTagData', - }), + artTags: [ + exitWithoutUniqueCoverArt({ + value: input.value([]), + }), + + referenceList({ + class: input.value(ArtTag), + find: input.value(find.artTag), + data: 'artTagData', + }), + ], // Update only |