Fix wrong timespan in acc timeline
This commit is contained in:
parent
70384d8d9f
commit
15b7e75b69
@ -43,12 +43,10 @@ export class AccelerationTimelineComponent implements OnInit, OnChanges {
|
|||||||
this.poolsData[pool.unique_id] = pool;
|
this.poolsData[pool.unique_id] = pool;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.updateTimes();
|
|
||||||
this.interval = window.setInterval(this.updateTimes.bind(this), 60000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnChanges(changes): void {
|
ngOnChanges(changes): void {
|
||||||
|
this.updateTimes();
|
||||||
// Hide standard ETA while we don't have a proper standard ETA calculation, see https://github.com/mempool/mempool/issues/65
|
// Hide standard ETA while we don't have a proper standard ETA calculation, see https://github.com/mempool/mempool/issues/65
|
||||||
|
|
||||||
// if (changes?.eta?.currentValue || changes?.standardETA?.currentValue || changes?.acceleratedETA?.currentValue) {
|
// if (changes?.eta?.currentValue || changes?.standardETA?.currentValue || changes?.acceleratedETA?.currentValue) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user