« get me outta code hell

Merge branch 'fast-link-wiki-data' into preview - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/artist.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-04 21:22:53 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-11-04 21:22:53 -0300
commit0175df41994ed44d2dded79ac21badf463140e14 (patch)
tree950f92e8ee963fced5b16d4e5052e6d9d38950b4 /src/data/things/artist.js
parent8e174abde6a6b9b46e2cf885115c58bedcfd0802 (diff)
parent527e4618fdc57d80ac79ca9ceb3eed60fca90d6b (diff)
Merge branch 'fast-link-wiki-data' into preview
Diffstat (limited to 'src/data/things/artist.js')
-rw-r--r--src/data/things/artist.js19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js
index ea19d2ba..e0350b86 100644
--- a/src/data/things/artist.js
+++ b/src/data/things/artist.js
@@ -45,10 +45,21 @@ export class Artist extends Thing {
 
     // Update only
 
-    albumData: wikiData(Album),
-    artistData: wikiData(Artist),
-    flashData: wikiData(Flash),
-    trackData: wikiData(Track),
+    albumData: wikiData({
+      class: input.value(Album),
+    }),
+
+    artistData: wikiData({
+      class: input.value(Artist),
+    }),
+
+    flashData: wikiData({
+      class: input.value(Flash),
+    }),
+
+    trackData: wikiData({
+      class: input.value(Track),
+    }),
 
     // Expose only