« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 54b2c124..3e0d95bf 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 92e89eaf..2cc8f554 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]) =>