Fix ETA loading error

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

View File

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