Only show audit-related tooltip info when audit enabled
This commit is contained in:
		
							parent
							
								
									a11edbbb82
								
							
						
					
					
						commit
						cb8b3719e8
					
				@ -9,5 +9,6 @@
 | 
			
		||||
    [tx]="selectedTx || hoverTx"
 | 
			
		||||
    [cursorPosition]="tooltipPosition"
 | 
			
		||||
    [clickable]="!!selectedTx"
 | 
			
		||||
    [auditEnabled]="auditHighlighting"
 | 
			
		||||
  ></app-block-overview-tooltip>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,7 @@
 | 
			
		||||
        <td class="td-width" i18n="transaction.vsize|Transaction Virtual Size">Virtual size</td>
 | 
			
		||||
        <td [innerHTML]="'‎' + (vsize | vbytes: 2)"></td>
 | 
			
		||||
      </tr>
 | 
			
		||||
      <tr *ngIf="tx && tx.status && tx.status.length">
 | 
			
		||||
      <tr *ngIf="auditEnabled && tx && tx.status && tx.status.length">
 | 
			
		||||
        <td class="td-width" i18n="transaction.audit-status">Audit status</td>
 | 
			
		||||
        <ng-container [ngSwitch]="tx?.status">
 | 
			
		||||
          <td *ngSwitchCase="'found'" i18n="transaction.audit.match">Match</td>
 | 
			
		||||
 | 
			
		||||
@ -11,6 +11,7 @@ export class BlockOverviewTooltipComponent implements OnChanges {
 | 
			
		||||
  @Input() tx: TransactionStripped | void;
 | 
			
		||||
  @Input() cursorPosition: Position;
 | 
			
		||||
  @Input() clickable: boolean;
 | 
			
		||||
  @Input() auditEnabled: boolean = false;
 | 
			
		||||
 | 
			
		||||
  txid = '';
 | 
			
		||||
  fee = 0;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user