|
|
|
@ -21,8 +21,41 @@
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Peer </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.remote_alias}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="remote_pubkey">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Pubkey </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.remote_pubkey}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="channel_point">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Channel Point </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.channel_point}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="chan_id">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Channel Id </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.chan_id}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="closing_tx_hash">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Closing Tx Hash </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.closing_tx_hash}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="chain_hash">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Chain Hash </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel" [ngStyle]="{'max-width': (screenSize === screenSizeEnum.XS) ? '10rem' : '20rem'}"> {{channel.chain_hash}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="open_initiator">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Open Initiator </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel"> {{channel.open_initiator | camelcaseWithReplace:'initiator_'}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="close_initiator">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header> Close Initiator </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel"> {{channel.close_initiator | camelcaseWithReplace:'initiator_'}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="time_locked_balance">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header arrowPosition="before"> Timelocked Balance (Sats) </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel"><span fxLayoutAlign="end center"> {{channel.time_locked_balance | number}} </span>
|
|
|
|
|
</td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="capacity">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header arrowPosition="before"> Capacity </th>
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header arrowPosition="before"> Capacity (Sats) </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel"><span fxLayoutAlign="end center"> {{channel.capacity | number}} </span>
|
|
|
|
|
</td>
|
|
|
|
|
</ng-container>
|
|
|
|
@ -32,7 +65,7 @@
|
|
|
|
|
</span></td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container matColumnDef="settled_balance">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header arrowPosition="before"> Settled Balance </th>
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header arrowPosition="before"> Settled Balance (Sats) </th>
|
|
|
|
|
<td mat-cell *matCellDef="let channel"><span fxLayoutAlign="end center"> {{channel.settled_balance | number}}
|
|
|
|
|
</span></td>
|
|
|
|
|
</ng-container>
|
|
|
|
|