Fix wrong timespan in acc timeline

This commit is contained in:
natsoni 2024-10-09 16:33:19 +09:00
parent 70384d8d9f
commit 15b7e75b69
No known key found for this signature in database
GPG key ID: C65917583181743B

View file

@ -43,12 +43,10 @@ export class AccelerationTimelineComponent implements OnInit, OnChanges {
this.poolsData[pool.unique_id] = pool;
}
});
this.updateTimes();
this.interval = window.setInterval(this.updateTimes.bind(this), 60000);
}
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
// if (changes?.eta?.currentValue || changes?.standardETA?.currentValue || changes?.acceleratedETA?.currentValue) {