« get me outta code hell

data: minor fixes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-21 17:02:18 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-21 17:02:18 -0300
commit64476074cbc7375afe2388ddd6e9e3275c25f3bd (patch)
tree3e8234de3fe9e0a064821d79829844933498d1e9
parent981a39a5f3c2a592c84f92692c204b090622aec9 (diff)
data: minor fixes
-rw-r--r--src/data/things/track.js4
-rwxr-xr-xsrc/upd8.js4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 54b2c12..3e0d95b 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -192,7 +192,9 @@ export class Track extends Thing {
     }),
 
     artistContribs: [
-      inheritFromOriginalRelease({property: 'artistContribs'}),
+      inheritFromOriginalRelease({
+        property: input.value('artistContribs'),
+      }),
 
       withResolvedContribs({
         from: input.updateValue({validate: isContributionList}),
diff --git a/src/upd8.js b/src/upd8.js
index 92e89ea..2cc8f55 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -613,10 +613,6 @@ async function main() {
   // which are only available after the initial linking.
   sortWikiDataArrays(wikiData);
 
-  console.log(
-    CacheableObject.getUpdateValue(wikiData.albumData[0], 'trackSections'),
-    wikiData.albumData[0].trackSections);
-
   if (precacheData) {
     progressCallAll('Caching all data values', Object.entries(wikiData)
       .filter(([key]) =>