Minor UX fixes.
This commit is contained in:
		
							parent
							
								
									ef862e2442
								
							
						
					
					
						commit
						50b4e1523e
					
				@ -86,6 +86,8 @@ export class BlockComponent implements OnInit {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  getBlockTransactions(hash: string) {
 | 
					  getBlockTransactions(hash: string) {
 | 
				
			||||||
 | 
					    this.isLoadingTransactions = true;
 | 
				
			||||||
 | 
					    this.transactions = null;
 | 
				
			||||||
    this.electrsApiService.getBlockTransactions$(hash)
 | 
					    this.electrsApiService.getBlockTransactions$(hash)
 | 
				
			||||||
      .subscribe((transactions: any) => {
 | 
					      .subscribe((transactions: any) => {
 | 
				
			||||||
        this.transactions = transactions;
 | 
					        this.transactions = transactions;
 | 
				
			||||||
 | 
				
			|||||||
@ -61,7 +61,7 @@
 | 
				
			|||||||
              <ng-template #firstSeenTmpl>
 | 
					              <ng-template #firstSeenTmpl>
 | 
				
			||||||
                <tr>
 | 
					                <tr>
 | 
				
			||||||
                  <td>First seen</td>
 | 
					                  <td>First seen</td>
 | 
				
			||||||
                  <td><app-time-since [time]="transactionTime"></app-time-since> ago</td>
 | 
					                  <td><i><app-time-since [time]="transactionTime"></app-time-since> ago</i></td>
 | 
				
			||||||
                </tr>
 | 
					                </tr>
 | 
				
			||||||
              </ng-template>
 | 
					              </ng-template>
 | 
				
			||||||
            </ng-template>
 | 
					            </ng-template>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user