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
commit 1a2487b740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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