Fix typo.
This commit is contained in:
		
							parent
							
								
									6f9762d50b
								
							
						
					
					
						commit
						1659be0d9f
					
				| @ -25,7 +25,7 @@ | ||||
|               <ng-template [ngIf]="!address.electrum"> | ||||
|                 <tr> | ||||
|                   <td i18n="address.total-received">Total received</td> | ||||
|                   <td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="receieved" [noFiat]="true"></app-amount></td> | ||||
|                   <td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="received" [noFiat]="true"></app-amount></td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                   <td i18n="address.total-sent">Total sent</td> | ||||
| @ -34,7 +34,7 @@ | ||||
|               </ng-template> | ||||
|               <tr> | ||||
|                 <td i18n="address.balance">Balance</td> | ||||
|                 <td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="receieved - sent" [noFiat]="true"></app-amount> <span class="fiat"><app-fiat [value]="receieved - sent"></app-fiat></span></td> | ||||
|                 <td *ngIf="address.chain_stats.funded_txo_sum !== undefined; else confidentialTd"><app-amount [satoshis]="received - sent" [noFiat]="true"></app-amount> <span class="fiat"><app-fiat [value]="received - sent"></app-fiat></span></td> | ||||
|               </tr> | ||||
|             </tbody> | ||||
|           </table> | ||||
| @ -85,7 +85,7 @@ | ||||
| 
 | ||||
|       </ng-template> | ||||
| 
 | ||||
|       <ng-template [ngIf]="retryLoadmore"> | ||||
|       <ng-template [ngIf]="retryLoadMore"> | ||||
|         <br> | ||||
|         <button type="button" class="btn btn-outline-info btn-sm" (click)="loadMore()"><fa-icon [icon]="['fas', 'redo-alt']" [fixedWidth]="true"></fa-icon></button> | ||||
|       </ng-template> | ||||
| @ -114,7 +114,7 @@ | ||||
|         </div> | ||||
|         <div class="w-100 d-block d-md-none"></div> | ||||
|         <div class="col"> | ||||
|            | ||||
| 
 | ||||
|         </div> | ||||
|       </div> | ||||
|     </div> | ||||
|  | ||||
| @ -24,7 +24,7 @@ export class AddressComponent implements OnInit, OnDestroy { | ||||
|   isLoadingAddress = true; | ||||
|   transactions: Transaction[]; | ||||
|   isLoadingTransactions = true; | ||||
|   retryLoadmore = false; | ||||
|   retryLoadMore = false; | ||||
|   error: any; | ||||
|   mainSubscription: Subscription; | ||||
|   addressLoadingStatus$: Observable<number>; | ||||
| @ -33,7 +33,7 @@ export class AddressComponent implements OnInit, OnDestroy { | ||||
|   totalConfirmedTxCount = 0; | ||||
|   loadedConfirmedTxCount = 0; | ||||
|   txCount = 0; | ||||
|   receieved = 0; | ||||
|   received = 0; | ||||
|   sent = 0; | ||||
| 
 | ||||
|   private tempTransactions: Transaction[]; | ||||
| @ -183,7 +183,7 @@ export class AddressComponent implements OnInit, OnDestroy { | ||||
|         }); | ||||
|         transaction.vout.forEach((vout) => { | ||||
|           if (vout.scriptpubkey_address === this.address.address) { | ||||
|             this.receieved += vout.value; | ||||
|             this.received += vout.value; | ||||
|           } | ||||
|         }); | ||||
|       }); | ||||
| @ -206,7 +206,7 @@ export class AddressComponent implements OnInit, OnDestroy { | ||||
|       return; | ||||
|     } | ||||
|     this.isLoadingTransactions = true; | ||||
|     this.retryLoadmore = false; | ||||
|     this.retryLoadMore = false; | ||||
|     this.electrsApiService.getAddressTransactionsFromHash$(this.address.address, this.lastTransactionTxId) | ||||
|       .subscribe((transactions: Transaction[]) => { | ||||
|         this.lastTransactionTxId = transactions[transactions.length - 1].txid; | ||||
| @ -216,12 +216,12 @@ export class AddressComponent implements OnInit, OnDestroy { | ||||
|       }, | ||||
|       (error) => { | ||||
|         this.isLoadingTransactions = false; | ||||
|         this.retryLoadmore = true; | ||||
|         this.retryLoadMore = true; | ||||
|       }); | ||||
|   } | ||||
| 
 | ||||
|   updateChainStats() { | ||||
|     this.receieved = this.address.chain_stats.funded_txo_sum + this.address.mempool_stats.funded_txo_sum; | ||||
|     this.received = this.address.chain_stats.funded_txo_sum + this.address.mempool_stats.funded_txo_sum; | ||||
|     this.sent = this.address.chain_stats.spent_txo_sum + this.address.mempool_stats.spent_txo_sum; | ||||
|     this.txCount = this.address.chain_stats.tx_count + this.address.mempool_stats.tx_count; | ||||
|     this.totalConfirmedTxCount = this.address.chain_stats.tx_count; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user