Merge pull request #5284 from mempool/mononaut/zero-seconds

handle zero relative time seconds
This commit is contained in:
softsimon
2024-07-06 14:54:35 +09:00
committed by GitHub

View File

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