[LN ISP chart] Adds toogle to order by nodes/capacity and show/hide Tor

This commit is contained in:
nymkappa
2022-07-27 13:20:54 +02:00
parent 992e3fa7b9
commit 91c39b57fe
9 changed files with 123 additions and 46 deletions

View File

@@ -140,7 +140,9 @@
<div class="d-flex justify-content-between" *ngIf="!error">
<h2>Channels ({{ channelsListStatus === 'open' ? node.channel_active_count : node.channel_closed_count }})</h2>
<app-toggle [textLeft]="'List'" [textRight]="'Map'" (toggleStatusChanged)="channelsListModeChange($event)"></app-toggle>
<div class="d-flex justify-content-end">
<app-toggle [textLeft]="'List'" [textRight]="'Map'" (toggleStatusChanged)="channelsListModeChange($event)"></app-toggle>
</div>
</div>
<app-nodes-channels-map *ngIf="channelsListMode === 'map' && !error" [style]="'nodepage'" [publicKey]="node.public_key">