Add mining pools to search bar

This commit is contained in:
natsoni
2024-05-30 09:31:44 +02:00
parent 9186f664da
commit 7761ea53c6
5 changed files with 55 additions and 5 deletions

View File

@@ -253,7 +253,8 @@ export class ApiService {
)
.pipe(
map((response) => {
response.body.pools.forEach((pool) => {
const pools = interval !== undefined ? response.body.pools : response.body;
pools.forEach((pool) => {
if (pool.poolUniqueId === 0) {
pool.name = $localize`:@@e5d8bb389c702588877f039d72178f219453a72d:Unknown`;
}