« 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/artist.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/artist.js
parent89ae8d37a9658da0be528e822a6e8116074334fb (diff)
port the rest of everything
Diffstat (limited to 'src/page/artist.js')
-rw-r--r--src/page/artist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/artist.js b/src/page/artist.js
index 0bfcf1c..c15e034 100644
--- a/src/page/artist.js
+++ b/src/page/artist.js
@@ -187,7 +187,7 @@ export function write(artist, {wikiData}) {
                             aka: track.aka,
                             entry: language.$('artistPage.creditList.entry.track.withDuration', {
                                 track: link.track(track),
-                                duration: language.formatDuration(track.duration)
+                                duration: language.formatDuration(track.duration ?? 0)
                             }),
                             ...props
                         }))