Merge pull request #5284 from mempool/mononaut/zero-seconds
handle zero relative time seconds
This commit is contained in:
commit
1a2487b740
@ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
calculate() {
|
calculate() {
|
||||||
if (!this.time) {
|
if (this.time == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user