Fix ETA loading error

This commit is contained in:
softsimon committed 2024-06-26 12:12:49 +09:00
1 parent 14e05b43c7
commit a0402b92f9
3 files changed
+6 -2

No files matched your search

@@ -78,6 +78,10 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy {
}
calculate() {
if (!this.time) {
return;
}
let seconds: number;
switch (this.kind) {
case 'since':