« get me outta code hell

Changes(tm) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/album.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-06-26 18:07:21 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-06-26 18:07:21 -0300
commit99c0bb64b33858a3a4077343b6db987471cdc1f0 (patch)
treece3b3e693052b099156871d8786627368ce2a560 /src/page/album.js
parentc75b029160248b6935e5c0f5156cc7a870311e82 (diff)
Changes(tm)
Diffstat (limited to 'src/page/album.js')
-rw-r--r--src/page/album.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 6c8bb84..5b7bc97 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -210,7 +210,9 @@ export function write(album, {wikiData}) {
                               language.$('releaseInfo.duration', {
                                 duration: language.formatDuration(
                                   albumDuration,
-                                  {approximate: album.tracks.length > 1}
+                                  {
+                                    approximate: album.tracks.length > 1,
+                                  }
                                 ),
                               }),
                             ]
@@ -224,7 +226,9 @@ export function write(album, {wikiData}) {
                               hasAdditionalFiles &&
                                 generateAdditionalFilesShortcut(
                                   album.additionalFiles,
-                                  {language}
+                                  {
+                                    language,
+                                  }
                                 ),
                               hasCommentaryEntries &&
                                 language.$('releaseInfo.viewCommentary', {
@@ -267,7 +271,9 @@ export function write(album, {wikiData}) {
                                       {
                                         duration: language.formatDuration(
                                           getTotalDuration(tracks),
-                                          {approximate: tracks.length > 1}
+                                          {
+                                            approximate: tracks.length > 1,
+                                          }
                                         ),
                                         section: name,
                                       }