Add mining pools to search bar

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

No files matched your search

+2 -1
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`;
}