diff --git a/src/routes/Settings.svelte b/src/routes/Settings.svelte index 2dbdcdc..147ffe4 100644 --- a/src/routes/Settings.svelte +++ b/src/routes/Settings.svelte @@ -44,6 +44,18 @@ ['5dBm', 20] // 5dBm ]); + const miningPoolMap = new Map([ + ['noderunners', 'pool.noderunners.network'], + ['braiins', 'braiins pool'], + ['ocean', 'ocean.xyz'] + ]); + + const getMiningPoolName = (name: string) => { + if (miningPoolMap.has(name)) return miningPoolMap.get(name); + + return name; + }; + const dispatch = createEventDispatcher(); const handleReset = (e: Event) => { @@ -712,8 +724,9 @@ bsSize={$uiSettings.inputSize} class={$uiSettings.selectClass} > - - + {#each $settings.availablePools as pool} + + {/each}