Relax pool id equality

This commit is contained in:
Mononaut 2024-06-05 21:57:06 +00:00
parent 9b9aaed757
commit 2a4ab30c95
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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;
}