Merge pull request #3742 from vostrnad/empty-witness-items
Display empty witness items
This commit is contained in:
		
						commit
						6d76d11837
					
				
							
								
								
									
										3
									
								
								contributors/vostrnad.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								contributors/vostrnad.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of January 25, 2022.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Signed: vostrnad
 | 
				
			||||||
@ -114,7 +114,12 @@
 | 
				
			|||||||
                          <ng-container *ngFor="let witness of vin.witness; index as i">
 | 
					                          <ng-container *ngFor="let witness of vin.witness; index as i">
 | 
				
			||||||
                            <input type="checkbox" [id]="'tx' + vindex + 'witness' + i" style="display: none;">
 | 
					                            <input type="checkbox" [id]="'tx' + vindex + 'witness' + i" style="display: none;">
 | 
				
			||||||
                            <p class="witness-item" [class.accordioned]="witness.length > 1000">
 | 
					                            <p class="witness-item" [class.accordioned]="witness.length > 1000">
 | 
				
			||||||
 | 
					                              <ng-template [ngIf]="witness" [ngIfElse]="emptyWitnessItem">
 | 
				
			||||||
                                {{ witness }}
 | 
					                                {{ witness }}
 | 
				
			||||||
 | 
					                              </ng-template>
 | 
				
			||||||
 | 
					                              <ng-template #emptyWitnessItem>
 | 
				
			||||||
 | 
					                                <empty>
 | 
				
			||||||
 | 
					                              </ng-template>
 | 
				
			||||||
                            </p>
 | 
					                            </p>
 | 
				
			||||||
                            <div class="witness-toggle" *ngIf="witness.length > 1000">
 | 
					                            <div class="witness-toggle" *ngIf="witness.length > 1000">
 | 
				
			||||||
                              <span  class="ellipsis">...</span>
 | 
					                              <span  class="ellipsis">...</span>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user