From 3425bdd100afff6bdd17fae80b48edd38e3fdc95 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sat, 6 Jul 2024 05:48:43 +0000 Subject: [PATCH] handle zero relative time seconds --- frontend/src/app/components/time/time.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/time/time.component.ts b/frontend/src/app/components/time/time.component.ts index 979940e8d..8bd27b7ae 100644 --- a/frontend/src/app/components/time/time.component.ts +++ b/frontend/src/app/components/time/time.component.ts @@ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy { } calculate() { - if (!this.time) { + if (this.time == null) { return; }