handle zero relative time seconds

This commit is contained in:
Mononaut committed 2024-07-06 05:48:43 +00:00
1 parent be72a26760
commit 3425bdd100
1 file changed
+1 -1
@@ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy {
}
calculate() {
if (!this.time) {
if (this.time == null) {
return;
}