« get me outta code hell

fix missing album duration...... oops - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-12-06 08:16:27 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-12-06 08:16:27 -0400
commitb494fd1a9f4c77994a239ce12b04cafa5ae3315d (patch)
tree6b93d8c335a1f119b2807edbcc531174aa36d9b8 /src/page
parent19b832b91b882293f0b145941961c880671fddef (diff)
fix missing album duration...... oops
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 1a90a79c..f2c35a14 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -212,7 +212,7 @@ export function write(album, {wikiData}) {
                     date: language.formatDate(album.coverArtDate),
                   }),
 
-                album.duration > 0 &&
+                albumDuration > 0 &&
                   language.$('releaseInfo.duration', {
                     duration: language.formatDuration(albumDuration, {
                       approximate: album.tracks.length > 1,