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">
|
<div class="widget-toggler">
|
||||||
<a href="javascript:;" (click)="switchMode('avg')" class="toggler-option"
|
<a href="" (click)="switchMode('avg')" class="toggler-option"
|
||||||
[ngClass]="{'inactive': mode !== 'avg'}"><small>avg</small></a>
|
[ngClass]="{'inactive': mode === 'avg'}"><small>avg</small></a>
|
||||||
<span style="color: #ffffff66; font-size: 8px"> | </span>
|
<span style="color: #ffffff66; font-size: 8px"> | </span>
|
||||||
<a href="javascript:;" (click)="switchMode('med')" class="toggler-option"
|
<a href="" (click)="switchMode('med')" class="toggler-option"
|
||||||
[ngClass]="{'inactive': mode !== 'med'}"><small>med</small></a>
|
[ngClass]="{'inactive': mode === 'med'}"><small>med</small></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fee-estimation-wrapper" *ngIf="statistics$ | async as statistics; else loadingReward">
|
<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') {
|
switchMode(mode: 'avg' | 'med') {
|
||||||
this.mode = mode;
|
this.mode = mode;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user