From 231a56b18a045340eb6d7013d30b5e74872bf812 Mon Sep 17 00:00:00 2001 From: DJObleezy Date: Tue, 22 Apr 2025 08:30:03 -0700 Subject: [PATCH] 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. --- static/js/main.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index c372120..e1fc580 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -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); }