mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 11:10:44 +02:00
Remove pool_luck metric and UI indicator
Updated the ArrowIndicator class to exclude the "pool_luck" metric while keeping "estimated_rewards_in_window_sats" and "workers_hashing". Removed the corresponding UI elements in the updateUI function, as the visual representation for "pool_luck" is no longer necessary.
This commit is contained in:
parent
8c1c55c83f
commit
231a56b18a
@ -166,7 +166,7 @@ class ArrowIndicator {
|
||||
"difficulty", "daily_revenue", "daily_power_cost", "daily_profit_usd",
|
||||
"monthly_profit_usd", "daily_mined_sats", "monthly_mined_sats", "unpaid_earnings",
|
||||
"estimated_earnings_per_day_sats", "estimated_earnings_next_block_sats",
|
||||
"estimated_rewards_in_window_sats", "workers_hashing", "pool_luck"
|
||||
"estimated_rewards_in_window_sats", "workers_hashing"
|
||||
];
|
||||
|
||||
// Clear all arrows if requested
|
||||
@ -1492,12 +1492,6 @@ function updateUI() {
|
||||
}
|
||||
}
|
||||
|
||||
// Add the indicator after the value
|
||||
const indicatorSpan = document.createElement("span");
|
||||
indicatorSpan.id = "indicator_pool_luck";
|
||||
indicatorSpan.style.marginLeft = "5px";
|
||||
poolLuckDiv.appendChild(indicatorSpan);
|
||||
|
||||
// Add to divider container
|
||||
poolDividerContainer.appendChild(poolLuckDiv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user