« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/album.js17
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