« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateAlbumCommentaryPage.js4
-rw-r--r--src/content/dependencies/generateAlbumSidebarTrackSection.js2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/content/dependencies/generateAlbumCommentaryPage.js b/src/content/dependencies/generateAlbumCommentaryPage.js
index 85a2108c..5c057b80 100644
--- a/src/content/dependencies/generateAlbumCommentaryPage.js
+++ b/src/content/dependencies/generateAlbumCommentaryPage.js
@@ -150,9 +150,7 @@ export default {
               language.$('albumCommentaryPage.entry.title.albumCommentary')),
 
             relations.albumCommentaryCover
-              ?.slots({
-                displayMode: 'commentary',
-              }),
+              ?.slots({mode: 'commentary'}),
 
             html.tag('blockquote',
               relations.albumCommentaryContent),
diff --git a/src/content/dependencies/generateAlbumSidebarTrackSection.js b/src/content/dependencies/generateAlbumSidebarTrackSection.js
index e8c0377d..00e9b621 100644
--- a/src/content/dependencies/generateAlbumSidebarTrackSection.js
+++ b/src/content/dependencies/generateAlbumSidebarTrackSection.js
@@ -45,7 +45,7 @@ export default {
     open: {type: 'boolean'},
   },
 
-  generate(slots, data, relations, {getColors, html, language}) {
+  generate(data, relations, slots, {getColors, html, language}) {
     const sectionName =
       html.tag('span', {class: 'group-name'},
         (data.isDefaultTrackSection