Simplify pool frontend to single-coin mode
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 35s

This commit is contained in:
Codex Bot
2026-03-21 19:22:25 +01:00
parent e20b6433ba
commit 0cd6cd6af2
14 changed files with 48 additions and 325 deletions

View File

@@ -49,10 +49,7 @@ currentPage = {
$('#blocksTabs a').off('click')
},
update: function(updateKey){
let endPoint = updateKey === parentCoin ? api : mergedApis[updateKey] ? mergedApis[updateKey].api : null
if (endPoint) {
top10Miners_UpdateTop10(xhrGetMiners, endPoint, updateKey)
}
top10Miners_UpdateTop10(xhrGetMiners, api, updateKey)
}
};
@@ -67,4 +64,4 @@ function RunOnce() {
top10Miners_InitTemplate(xhrGetMiners, ranOnce)
</script>
</script>