« get me outta code hell

fix art tags not showing up on album pages - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-07 00:24:14 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-07 00:24:14 -0400
commitc72a05cf795b4bab51c2e0cef4eff0bc210fe3e8 (patch)
treec45d473ad90a7554437d72f9f94d5c0ce0c6f05e /src
parente51ebf2eb4291c46a0a0c20c22003bb2f12660b7 (diff)
fix art tags not showing up on album pages
Diffstat (limited to 'src')
-rw-r--r--src/data/things.js1
-rwxr-xr-xsrc/upd8.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/data/things.js b/src/data/things.js
index eb01cc16..c873f5e3 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -473,6 +473,7 @@ Album.propertyDescriptors = {
     // Update only
 
     artistData: Thing.common.wikiData(Artist),
+    artTagData: Thing.common.wikiData(ArtTag),
     groupData: Thing.common.wikiData(Group),
     trackData: Thing.common.wikiData(Track),
 
diff --git a/src/upd8.js b/src/upd8.js
index 0f5e287f..1262fc1a 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2744,7 +2744,7 @@ async function main() {
             }
         }
 
-        assignWikiData(WD.albumData, 'artistData', 'groupData', 'trackData');
+        assignWikiData(WD.albumData, 'artistData', 'artTagData', 'groupData', 'trackData');
         WD.albumData.forEach(album => assignWikiData(album.trackGroups, 'trackData'));
 
         assignWikiData(WD.trackData, 'albumData', 'artistData', 'artTagData', 'flashData', 'trackData');