mirror of
https://github.com/mempool/mempool.git
synced 2025-04-07 11:28:37 +02:00
Merge pull request #2615 from mempool/simon/lightning-inverting-avg-toggles
Inverting med/avg toggle
This commit is contained in:
commit
4fee471992
@ -1,9 +1,9 @@
|
||||
<div class="widget-toggler">
|
||||
<a href="javascript:;" (click)="switchMode('avg')" class="toggler-option"
|
||||
[ngClass]="{'inactive': mode !== 'avg'}"><small>avg</small></a>
|
||||
<a href="" (click)="switchMode('avg')" class="toggler-option"
|
||||
[ngClass]="{'inactive': mode === 'avg'}"><small>avg</small></a>
|
||||
<span style="color: #ffffff66; font-size: 8px"> | </span>
|
||||
<a href="javascript:;" (click)="switchMode('med')" class="toggler-option"
|
||||
[ngClass]="{'inactive': mode !== 'med'}"><small>med</small></a>
|
||||
<a href="" (click)="switchMode('med')" class="toggler-option"
|
||||
[ngClass]="{'inactive': mode === 'med'}"><small>med</small></a>
|
||||
</div>
|
||||
|
||||
<div class="fee-estimation-wrapper" *ngIf="statistics$ | async as statistics; else loadingReward">
|
||||
|
@ -18,5 +18,6 @@ export class ChannelsStatisticsComponent implements OnInit {
|
||||
|
||||
switchMode(mode: 'avg' | 'med') {
|
||||
this.mode = mode;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user