handle zero relative time seconds

This commit is contained in:
Mononaut
2024-07-06 05:48:43 +00:00
parent be72a26760
commit 3425bdd100

View File

@@ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy {
}
calculate() {
if (!this.time) {
if (this.time == null) {
return;
}