« get me outta code hell

content, data: properly update artistDisplayText -> artistText - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateCommentaryEntry.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-04-29 15:36:35 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-29 15:37:29 -0300
commite36872408600c1a4c568ff9be9d84713d2561408 (patch)
tree2653893697c987969e3a4ad9a9dcf7b745a6d72e /src/content/dependencies/generateCommentaryEntry.js
parent921330a5b253fd176d0dcfecbce8cdc7d2de5c56 (diff)
content, data: properly update artistDisplayText -> artistText
Diffstat (limited to 'src/content/dependencies/generateCommentaryEntry.js')
-rw-r--r--src/content/dependencies/generateCommentaryEntry.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateCommentaryEntry.js b/src/content/dependencies/generateCommentaryEntry.js
index c93020f3..367de506 100644
--- a/src/content/dependencies/generateCommentaryEntry.js
+++ b/src/content/dependencies/generateCommentaryEntry.js
@@ -12,14 +12,14 @@ export default {
 
   relations: (relation, entry) => ({
     artistLinks:
-      (!empty(entry.artists) && !entry.artistDisplayText
+      (!empty(entry.artists) && !entry.artistText
         ? entry.artists
             .map(artist => relation('linkArtist', artist))
         : null),
 
     artistsContent:
-      (entry.artistDisplayText
-        ? relation('transformContent', entry.artistDisplayText)
+      (entry.artistText
+        ? relation('transformContent', entry.artistText)
         : null),
 
     annotationContent: