Merge pull request #2726 from mempool/mononaut/fix-loading-block-title
Fix incorrect "Genesis" heading while loading the block page
This commit is contained in:
		
						commit
						b0e3022ddb
					
				| @ -2,7 +2,7 @@ | |||||||
| 
 | 
 | ||||||
|   <div class="title-block" [class.time-ltr]="timeLtr" id="block"> |   <div class="title-block" [class.time-ltr]="timeLtr" id="block"> | ||||||
|     <h1> |     <h1> | ||||||
|       <ng-container *ngIf="blockHeight > 0; else genesis" i18n="shared.block-title">Block</ng-container> |       <ng-container *ngIf="blockHeight == null || blockHeight > 0; else genesis" i18n="shared.block-title">Block</ng-container> | ||||||
|       <ng-template #genesis i18n="@@2303359202781425764">Genesis</ng-template> |       <ng-template #genesis i18n="@@2303359202781425764">Genesis</ng-template> | ||||||
|       <span class="next-previous-blocks"> |       <span class="next-previous-blocks"> | ||||||
|         <a *ngIf="showNextBlocklink" class="nav-arrow next" [routerLink]="['/block/' | relativeUrl, nextBlockHeight]" (click)="navigateToNextBlock()" i18n-ngbTooltip="Next Block" ngbTooltip="Next Block" placement="bottom"> |         <a *ngIf="showNextBlocklink" class="nav-arrow next" [routerLink]="['/block/' | relativeUrl, nextBlockHeight]" (click)="navigateToNextBlock()" i18n-ngbTooltip="Next Block" ngbTooltip="Next Block" placement="bottom"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user