Merge pull request #2424 from mempool/simon/transactions-list-fix-attempt
Possible fix for failing test
This commit is contained in:
		
						commit
						fe78d718e7
					
				@ -61,6 +61,9 @@ export class TransactionsListComponent implements OnInit, OnChanges {
 | 
			
		||||
        .pipe(
 | 
			
		||||
          switchMap((txIds) => this.apiService.getOutspendsBatched$(txIds)),
 | 
			
		||||
          tap((outspends: Outspend[][]) => {
 | 
			
		||||
            if (!this.transactions) {
 | 
			
		||||
              return;
 | 
			
		||||
            }
 | 
			
		||||
            const transactions = this.transactions.filter((tx) => !tx._outspends);
 | 
			
		||||
            outspends.forEach((outspend, i) => {
 | 
			
		||||
              transactions[i]._outspends = outspend;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user