« get me outta code hell

fix context notes - 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>2022-03-05 23:05:28 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-05 23:05:28 -0400
commit3ea798f1cdc84f5e22517df93f83f4dbbddc5372 (patch)
tree590461116048b56816d75dffa188d649d6679678
parenta434abad9684831d142aa543b0cb8d46600b4f39 (diff)
fix context notes
-rw-r--r--src/page/artist.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/page/artist.js b/src/page/artist.js
index dae0e198..9d17b483 100644
--- a/src/page/artist.js
+++ b/src/page/artist.js
@@ -32,7 +32,7 @@ export function targets({wikiData}) {
 export function write(artist, {wikiData}) {
     const { groupData, wikiInfo } = wikiData;
 
-    const { name, urls, note } = artist;
+    const { name, urls, contextNotes } = artist;
 
     const artThingsAll = sortByDate(unique([
         ...artist.albumsAsCoverArtist ?? [],
@@ -295,10 +295,10 @@ export function write(artist, {wikiData}) {
                             alt: strings('misc.alt.artistAvatar')
                         })}
                         <h1>${strings('artistPage.title', {artist: name})}</h1>
-                        ${note && fixWS`
+                        ${contextNotes && fixWS`
                             <p>${strings('releaseInfo.note')}</p>
                             <blockquote>
-                                ${transformMultiline(note)}
+                                ${transformMultiline(contextNotes)}
                             </blockquote>
                             <hr>
                         `}