Link PoolRanking page with new pool page

This commit is contained in:
nymkappa 2022-02-08 19:04:53 +09:00
parent 9df9e8b13e
commit 52faab53e2
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
<tr *ngFor="let pool of miningStats.pools">
<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="">{{ 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="">{{ pool['blockText'] }}</td>
<td class="d-none d-md-block">{{ pool.emptyBlocks }} ({{ pool.emptyBlockRatio }}%)</td>

View File

@ -55,7 +55,7 @@ export interface LiquidPegs {
export interface ITranslators { [language: string]: string; }
export interface SinglePoolStats {
pooldId: number;
poolId: number;
name: string;
link: string;
blockCount: number;