« get me outta code hell

port the rest of everything - 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-05-10 21:53:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-10 21:53:25 -0300
commit861c4086c6355f6551f6d1dccbf6d9766c6b1d15 (patch)
tree317b35fbc4a5248e6bec84642bd0a6a5fb2cf289 /src/page/album.js
parent89ae8d37a9658da0be528e822a6e8116074334fb (diff)
port the rest of everything
Diffstat (limited to 'src/page/album.js')
-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 45e5439..5ea7c5a 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -33,7 +33,7 @@ export function write(album, {wikiData}) {
         language
     }) => {
         const itemOpts = {
-            duration: language.formatDuration(track.duration),
+            duration: language.formatDuration(track.duration ?? 0),
             track: link.track(track)
         };
         return `<li style="${getLinkThemeString(track.color)}">${