Open/closed channel title updating based on selected mode
This commit is contained in:
parent
9d9ead60a6
commit
4cceb008ea
@ -128,7 +128,14 @@
|
|||||||
<app-node-channels style="display:block;margin-bottom: 40px" [publicKey]="node.public_key"></app-node-channels>
|
<app-node-channels style="display:block;margin-bottom: 40px" [publicKey]="node.public_key"></app-node-channels>
|
||||||
|
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<h2>Channels ({{ channelsListStatus === 'open' ? node.opened_channel_count : node.closed_channel_count }})</h2>
|
<h2 *ngIf="channelsListStatus === 'open'">
|
||||||
|
<span i18n="lightning.open-channels">Open channels</span>
|
||||||
|
<span> ({{ node.opened_channel_count }})</span>
|
||||||
|
</h2>
|
||||||
|
<h2 *ngIf="channelsListStatus === 'closed'">
|
||||||
|
<span i18n="lightning.open-channels">Closed channels</span>
|
||||||
|
<span> ({{ node.closed_channel_count }})</span>
|
||||||
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<app-channels-list [publicKey]="node.public_key"
|
<app-channels-list [publicKey]="node.public_key"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user