diff --git a/apps/block_scout_web/lib/block_scout_web/templates/common_components/_table-loader.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/common_components/_table-loader.html.eex
index ac7cc71f56..57c8b0185d 100644
--- a/apps/block_scout_web/lib/block_scout_web/templates/common_components/_table-loader.html.eex
+++ b/apps/block_scout_web/lib/block_scout_web/templates/common_components/_table-loader.html.eex
@@ -8,9 +8,11 @@
|
+ <%= if balance_percentage_enabled?() do %>
|
+ <% end %>
|
@@ -25,9 +27,11 @@
|
+ <%= if balance_percentage_enabled?() do %>
|
+ <% end %>
|
@@ -42,9 +46,11 @@
|
+ <%= if balance_percentage_enabled?() do %>
|
+ <% end %>
|
@@ -59,9 +65,11 @@
|
+ <%= if balance_percentage_enabled?() do %>
|
+ <% end %>
|
@@ -76,10 +84,12 @@
|
+ <%= if balance_percentage_enabled?() do %>
|
+ <% end %>
|
-
\ No newline at end of file
+
diff --git a/apps/block_scout_web/lib/block_scout_web/views/common_components_view.ex b/apps/block_scout_web/lib/block_scout_web/views/common_components_view.ex
index c731c8609f..e7fab4636c 100644
--- a/apps/block_scout_web/lib/block_scout_web/views/common_components_view.ex
+++ b/apps/block_scout_web/lib/block_scout_web/views/common_components_view.ex
@@ -1,3 +1,7 @@
defmodule BlockScoutWeb.CommonComponentsView do
use BlockScoutWeb, :view
+
+ def balance_percentage_enabled? do
+ Application.get_env(:block_scout_web, :show_percentage)
+ end
end