Link PoolRanking page with new pool page
This commit is contained in:
		
							parent
							
								
									fbda0d8186
								
							
						
					
					
						commit
						a168a22360
					
				@ -58,7 +58,7 @@
 | 
				
			|||||||
      <tr *ngFor="let pool of miningStats.pools">
 | 
					      <tr *ngFor="let pool of miningStats.pools">
 | 
				
			||||||
        <td class="d-none d-md-block">{{ pool.rank }}</td>
 | 
					        <td class="d-none d-md-block">{{ pool.rank }}</td>
 | 
				
			||||||
        <td class="text-right"><img width="25" height="25" src="{{ pool.logo }}" onError="this.src = './resources/mining-pools/default.svg'"></td>
 | 
					        <td class="text-right"><img width="25" height="25" src="{{ pool.logo }}" onError="this.src = './resources/mining-pools/default.svg'"></td>
 | 
				
			||||||
        <td class="">{{ pool.name }}</td>
 | 
					        <td class=""><a [routerLink]="[('/mining/pool/' + pool.poolId) | relativeUrl]">{{ pool.name }}</a></td>
 | 
				
			||||||
        <td class="" *ngIf="this.poolsWindowPreference === '24h'">{{ pool.lastEstimatedHashrate }} {{ miningStats.miningUnits.hashrateUnit }}</td>
 | 
					        <td class="" *ngIf="this.poolsWindowPreference === '24h'">{{ pool.lastEstimatedHashrate }} {{ miningStats.miningUnits.hashrateUnit }}</td>
 | 
				
			||||||
        <td class="">{{ pool['blockText'] }}</td>
 | 
					        <td class="">{{ pool['blockText'] }}</td>
 | 
				
			||||||
        <td class="d-none d-md-block">{{ pool.emptyBlocks }} ({{ pool.emptyBlockRatio }}%)</td>
 | 
					        <td class="d-none d-md-block">{{ pool.emptyBlocks }} ({{ pool.emptyBlockRatio }}%)</td>
 | 
				
			||||||
 | 
				
			|||||||
@ -55,7 +55,7 @@ export interface LiquidPegs {
 | 
				
			|||||||
export interface ITranslators { [language: string]: string; }
 | 
					export interface ITranslators { [language: string]: string; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface SinglePoolStats {
 | 
					export interface SinglePoolStats {
 | 
				
			||||||
  pooldId: number;
 | 
					  poolId: number;
 | 
				
			||||||
  name: string;
 | 
					  name: string;
 | 
				
			||||||
  link: string;
 | 
					  link: string;
 | 
				
			||||||
  blockCount: number;
 | 
					  blockCount: number;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user