diff --git a/frontend/src/components/SongItem.vue b/frontend/src/components/SongItem.vue index e01cce0..c56816e 100644 --- a/frontend/src/components/SongItem.vue +++ b/frontend/src/components/SongItem.vue @@ -32,8 +32,8 @@ function updateSong() {
{{ Math.floor(props.song.length / 60000 || 0) }}:{{ - Math.floor((props.song.length ?? 0 / 1000) % 60) + >{{ Math.floor(props.song?.length / 60000 || 0) }}:{{ + Math.floor((props.song?.length ?? 0 / 1000) % 60) .toString() .padStart(2, "0") }} {