Hide pool share on mobile in pool ranking
This commit is contained in:
@@ -98,7 +98,6 @@ export class PoolRankingComponent implements OnInit {
|
||||
)
|
||||
.pipe(
|
||||
map(data => {
|
||||
data.pools = data.pools.map((pool: SinglePoolStats) => this.formatPoolUI(pool));
|
||||
data['minersLuck'] = (100 * (data.blockCount / 1008)).toFixed(2); // luck 1w
|
||||
return data;
|
||||
}),
|
||||
@@ -110,11 +109,6 @@ export class PoolRankingComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
formatPoolUI(pool: SinglePoolStats) {
|
||||
pool['blockText'] = pool.blockCount.toString() + ` (${pool.share}%)`;
|
||||
return pool;
|
||||
}
|
||||
|
||||
generatePoolsChartSerieData(miningStats) {
|
||||
let poolShareThreshold = 0.5;
|
||||
if (isMobile()) {
|
||||
|
||||
Reference in New Issue
Block a user