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 833eb014a..5a5fbac13 100644
--- a/frontend/src/app/components/transactions-list/transactions-list.component.html
+++ b/frontend/src/app/components/transactions-list/transactions-list.component.html
@@ -17,7 +17,7 @@
-
+
@@ -61,9 +61,9 @@
|
- tx['@vinLength']">
+
10 && tx['@vinLimit']">
-
+
|
@@ -73,7 +73,7 @@
-
+
{{ vout.scriptpubkey_address | shortenString : 16 }}
@@ -111,9 +111,9 @@
|
- tx['@voutLength']">
+
10 && tx['@voutLimit']">
-
+
|
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 9c1cf454b..adc33e8b4 100644
--- a/frontend/src/app/components/transactions-list/transactions-list.component.ts
+++ b/frontend/src/app/components/transactions-list/transactions-list.component.ts
@@ -51,8 +51,8 @@ export class TransactionsListComponent implements OnInit, OnChanges {
}
const observableObject = {};
this.transactions.forEach((tx, i) => {
- tx['@voutLength'] = 10;
- tx['@vinLength'] = 10;
+ tx['@voutLimit'] = true;
+ tx['@vinLimit'] = true;
if (this.outspends[i]) {
return;
}
@@ -88,28 +88,10 @@ export class TransactionsListComponent implements OnInit, OnChanges {
this.stateService.viewFiat$.next(oldvalue);
}
- trackByFn(index: number, tx: Transaction) {
+ trackByFn(index: number, tx: Transaction): string {
return tx.txid + tx.status.confirmed;
}
- loadMoreVin(tx: Transaction) {
- tx['@vinLength'] += 10;
- this.ref.markForCheck();
- }
-
- loadMoreVout(tx: Transaction) {
- tx['@voutLength'] += 10;
- this.ref.markForCheck();
- }
-
- getFilteredTxVin(tx: Transaction) {
- return tx.vin.slice(0, tx['@vinLength']);
- }
-
- getFilteredTxVout(tx: Transaction) {
- return tx.vout.slice(0, tx['@voutLength']);
- }
-
trackByIndexFn(index: number) {
return index;
}