Compare commits

...

1 Commits

Author SHA1 Message Date
Mononaut
2a4ab30c95
Relax pool id equality 2024-06-05 21:58:33 +00:00

View File

@ -718,7 +718,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
}
setIsAccelerated(initialState: boolean = false) {
this.isAcceleration = (this.tx.acceleration || (this.accelerationInfo && this.pool && this.accelerationInfo.pools.some(pool => (pool === this.pool.id || pool?.['pool_unique_id'] === this.pool.id))));
this.isAcceleration = (this.tx.acceleration || (this.accelerationInfo && this.pool && this.accelerationInfo.pools.some(pool => (pool == this.pool.id || pool?.['pool_unique_id'] == this.pool.id))));
if (this.isAcceleration && initialState) {
this.showAccelerationSummary = false;
}