diff --git a/src/components/Entry.vue b/src/components/Entry.vue index d676612..36f346b 100644 --- a/src/components/Entry.vue +++ b/src/components/Entry.vue @@ -16,6 +16,9 @@ const eta = computed(() =>{ let startTime = new Date(props.firstStartedAt * 1000) let playBackSeconds = (now - startTime) / 1000 let etaSeconds = Math.round(props.offset - playBackSeconds) + if etaSeconds < 0 { + etaSeconds = 0 + } if (isNaN(etaSeconds)) { return null