diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.html b/frontend/src/app/components/transactions-list/transactions-list.component.html index 3e78f60a2..17eb52878 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.html +++ b/frontend/src/app/components/transactions-list/transactions-list.component.html @@ -20,7 +20,7 @@
- + 12 && tx['@vinLimit']"> + @@ -158,7 +158,7 @@
- +
- + 12 && tx['@voutLimit'] && !outputIndex"> + diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.ts b/frontend/src/app/components/transactions-list/transactions-list.component.ts index e1e9880c0..69b65a8a4 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.ts +++ b/frontend/src/app/components/transactions-list/transactions-list.component.ts @@ -26,6 +26,8 @@ export class TransactionsListComponent implements OnInit, OnChanges { @Input() paginated = false; @Input() outputIndex: number; @Input() address: string = ''; + @Input() rowLimit = 12; + @Input() channels: { inputs: any[], outputs: any[] }; @Output() loadMore = new EventEmitter(); @@ -36,7 +38,6 @@ export class TransactionsListComponent implements OnInit, OnChanges { showDetails$ = new BehaviorSubject(false); outspends: Outspend[][] = []; assetsMinimal: any; - channels: { inputs: any[], outputs: any[] }; constructor( public stateService: StateService, @@ -127,7 +128,9 @@ export class TransactionsListComponent implements OnInit, OnChanges { }); const txIds = this.transactions.map((tx) => tx.txid); this.refreshOutspends$.next(txIds); - this.refreshChannels$.next(txIds); + if (!this.channels) { + this.refreshChannels$.next(txIds); + } } onScroll() { diff --git a/frontend/src/app/lightning/channel/channel.component.html b/frontend/src/app/lightning/channel/channel.component.html index 7fe82aaea..646094619 100644 --- a/frontend/src/app/lightning/channel/channel.component.html +++ b/frontend/src/app/lightning/channel/channel.component.html @@ -64,13 +64,13 @@

Opening transaction

- +

Closing transaction

  
- +
- +