Minor ngIf else template optimization
This commit is contained in:
		
							parent
							
								
									ddd5baf44e
								
							
						
					
					
						commit
						9373fb3dd1
					
				@ -42,7 +42,7 @@
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="row">
 | 
			
		||||
          <div class="col-lg-6 links" *ngIf="officialMempoolSpace || env.TESTNET_ENABLED || env.SIGNET_ENABLED || env.LIQUID_ENABLED || env.LIQUID_TESTNET_ENABLED">
 | 
			
		||||
          <div class="col-lg-6 links" *ngIf="officialMempoolSpace || env.TESTNET_ENABLED || env.SIGNET_ENABLED || env.LIQUID_ENABLED || env.LIQUID_TESTNET_ENABLED else toolBox" >
 | 
			
		||||
            <p class="category">Networks</p>
 | 
			
		||||
            <p *ngIf="(officialMempoolSpace || (env.BASE_MODULE === 'mempool')) && (currentNetwork !== '') && (currentNetwork !== 'mainnet')"><a [href]="networkLink('mainnet')">Mainnet Explorer</a></p>
 | 
			
		||||
            <p *ngIf="(officialMempoolSpace || (env.BASE_MODULE === 'mempool')) && (currentNetwork !== 'testnet') && env.TESTNET_ENABLED"><a [href]="networkLink('testnet')">Testnet Explorer</a></p>
 | 
			
		||||
@ -51,12 +51,14 @@
 | 
			
		||||
            <p *ngIf="(officialMempoolSpace || env.LIQUID_ENABLED) && (currentNetwork !== 'liquid')"><a [href]="networkLink('liquid')">Liquid Explorer</a></p>
 | 
			
		||||
            <p *ngIf="(officialMempoolSpace && (currentNetwork !== 'bisq'))"><a [href]="networkLink('bisq')">Bisq Explorer</a></p>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="col-lg-6 links" *ngIf="!(officialMempoolSpace || env.TESTNET_ENABLED || env.SIGNET_ENABLED || env.LIQUID_ENABLED || env.LIQUID_TESTNET_ENABLED)">
 | 
			
		||||
          <ng-template #toolBox>
 | 
			
		||||
          <div class="col-lg-6 links">
 | 
			
		||||
            <p class="category">Tools</p>
 | 
			
		||||
            <p><a [routerLink]="['/clock/mempool/0']">Clock (Mempool)</a></p>
 | 
			
		||||
            <p><a [routerLink]="['/clock/mined/0']">Clock (Mined)</a></p>
 | 
			
		||||
            <p><a [routerLink]="['/tools/calculator']">BTC/Fiat Converter</a></p>
 | 
			
		||||
          </div>
 | 
			
		||||
          </ng-template>
 | 
			
		||||
          <div class="col-lg-6 links">
 | 
			
		||||
            <p class="category">Legal</p>
 | 
			
		||||
            <p><a [routerLink]="['/terms-of-service']" i18n="shared.terms-of-service|Terms of Service">Terms of Service</a></p>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user