Added first seen on mempool transactions.
This commit is contained in:
@@ -10,6 +10,7 @@ export class TimeSinceComponent implements OnInit, OnDestroy {
|
||||
trigger = 0;
|
||||
|
||||
@Input() time: number;
|
||||
@Input() fastRender = false;
|
||||
|
||||
constructor(
|
||||
private ref: ChangeDetectorRef
|
||||
@@ -19,7 +20,7 @@ export class TimeSinceComponent implements OnInit, OnDestroy {
|
||||
this.interval = window.setInterval(() => {
|
||||
this.trigger++;
|
||||
this.ref.markForCheck();
|
||||
}, 1000 * 60);
|
||||
}, 1000 * (this.fastRender ? 1 : 60));
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
|
||||
Reference in New Issue
Block a user