mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 22:46:54 +01:00
Merge pull request #4980 from mempool/mononaut/fix-acc-button-conditions
This commit is contained in:
commit
cee1b39640
1 changed files with 3 additions and 0 deletions
|
@ -534,6 +534,9 @@
|
||||||
} @else if (this.mempoolPosition.block >= 7) {
|
} @else if (this.mempoolPosition.block >= 7) {
|
||||||
<span [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''">
|
<span [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''">
|
||||||
<span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span>
|
<span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span>
|
||||||
|
@if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button') {
|
||||||
|
<a class="btn btn-sm accelerateDeepMempool btn-small-height" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a>
|
||||||
|
}
|
||||||
</span>
|
</span>
|
||||||
} @else if (network === 'liquid' || network === 'liquidtestnet') {
|
} @else if (network === 'liquid' || network === 'liquidtestnet') {
|
||||||
<app-time kind="until" [time]="(60 * 1000 * this.mempoolPosition.block) + now" [fastRender]="false" [fixedRender]="true"></app-time>
|
<app-time kind="until" [time]="(60 * 1000 * this.mempoolPosition.block) + now" [fastRender]="false" [fixedRender]="true"></app-time>
|
||||||
|
|
Loading…
Add table
Reference in a new issue