diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 14:29:45 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-13 14:29:45 -0400 |
commit | 4ae877bc6dcc89c3899b2e1c3d5febf9e28334d6 (patch) | |
tree | c46c92bee0eeed86e2fab5733c42a3932200ffe9 /src | |
parent | e0a84cf1b550a7f6d065a64cf4524fa408508bc5 (diff) |
data: Album.artTags: empty without cover artist contribs
Diffstat (limited to 'src')
-rw-r--r-- | src/data/things/album.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index a95ba354..e48ad41a 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -113,11 +113,18 @@ export class Album extends Thing { data: 'groupData', }), - artTags: referenceList({ - class: input.value(ArtTag), - find: input.value(find.artTag), - data: 'artTagData', - }), + artTags: [ + exitWithoutContribs({ + contribs: 'coverArtistContribs', + value: input.value([]), + }), + + referenceList({ + class: input.value(ArtTag), + find: input.value(find.artTag), + data: 'artTagData', + }), + ], // Update only |