mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-02-22 22:25:43 +01:00
Disambiguate multiple channels with same node
This PR disambiguates the display of available channels to perform a circular rebalance with. This is very helpful if a node has multiple channels with the same peer.
This commit is contained in:
parent
386ff5afa6
commit
ddb63c1bae
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
|||
<mat-form-field fxFlex="48" fxLayoutAlign="start end">
|
||||
<input type="text" placeholder="Receive from Peer" aria-label="Receive from Peer" matInput formControlName="selRebalancePeer" (change)="onSelectedPeerChanged()" [matAutocomplete]="auto" tabindex="2" required>
|
||||
<mat-autocomplete #auto="matAutocomplete" [displayWith]="displayFn" (optionSelected)="onSelectedPeerChanged()">
|
||||
<mat-option *ngFor="let activeChannel of filteredActiveChannels | async" [value]="activeChannel">{{activeChannel.remote_alias || activeChannel.chan_id}}</mat-option>
|
||||
<mat-option *ngFor="let activeChannel of filteredActiveChannels | async" [value]="activeChannel">{{activeChannel.remote_alias}} - {{activeChannel.chan_id}}</mat-option>
|
||||
</mat-autocomplete>
|
||||
<mat-error *ngIf="inputFormGroup.controls.selRebalancePeer.errors?.required">Receive from Peer is required.</mat-error>
|
||||
<mat-error *ngIf="inputFormGroup.controls.selRebalancePeer.errors?.notfound">Receive from Peer not found in the list.</mat-error>
|
||||
|
@ -133,4 +133,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
|
|
Loading…
Add table
Reference in a new issue