diff options
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 |
commit | 861c4086c6355f6551f6d1dccbf6d9766c6b1d15 (patch) | |
tree | 317b35fbc4a5248e6bec84642bd0a6a5fb2cf289 /src/page/album.js | |
parent | 89ae8d37a9658da0be528e822a6e8116074334fb (diff) |
port the rest of everything
Diffstat (limited to 'src/page/album.js')
-rw-r--r-- | src/page/album.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/album.js b/src/page/album.js index 45e5439a..5ea7c5a0 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)}">${ |